home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / langs / elan1v5.arc / DOC.ARC / H05.TEX < prev    next >
LaTeX Document  |  1989-03-17  |  27.0 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Corel 10 Texture (image/corel10Texture) ext Unsupported
1% dexvert Croteam texture file (image/croteamTextureFile) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text, with CRLF line terminators default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: plain text[CRLF] default (weak)



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 63 68 61 70 74 65 72 | 7b 54 48 45 20 45 4c 41 |\chapter|{THE ELA|
|00000010| 4e 20 50 52 4f 47 52 41 | 4d 4d 49 4e 47 20 45 4e |N PROGRA|MMING EN|
|00000020| 56 49 52 4f 4e 4d 45 4e | 54 7d 0d 0a 0d 0a 54 68 |VIRONMEN|T}....Th|
|00000030| 65 20 75 73 65 72 20 69 | 6e 74 65 72 66 61 63 65 |e user i|nterface|
|00000040| 20 6f 66 20 74 68 65 20 | 45 6c 61 6e 20 50 72 6f | of the |Elan Pro|
|00000050| 67 72 61 6d 6d 69 6e 67 | 20 45 6e 76 69 72 6f 6e |gramming| Environ|
|00000060| 6d 65 6e 74 20 69 73 20 | 62 79 0d 0a 69 74 73 65 |ment is |by..itse|
|00000070| 6c 66 20 72 61 74 68 65 | 72 20 73 69 6d 70 6c 65 |lf rathe|r simple|
|00000080| 2c 20 62 75 74 20 69 74 | 73 20 64 65 73 63 72 69 |, but it|s descri|
|00000090| 70 74 69 6f 6e 20 67 65 | 74 73 20 72 61 74 68 65 |ption ge|ts rathe|
|000000a0| 72 20 63 6f 6d 70 6c 69 | 63 61 74 65 64 0d 0a 62 |r compli|cated..b|
|000000b0| 65 63 61 75 73 65 20 6f | 66 20 74 68 65 20 6d 61 |ecause o|f the ma|
|000000c0| 6e 79 20 77 61 79 73 20 | 6f 66 20 69 6e 74 65 72 |ny ways |of inter|
|000000d0| 61 63 74 69 6f 6e 20 77 | 69 74 68 20 74 68 65 20 |action w|ith the |
|000000e0| 75 73 65 72 2e 20 46 6f | 72 20 63 6f 6e 63 69 73 |user. Fo|r concis|
|000000f0| 65 0d 0a 64 65 73 63 72 | 69 70 74 69 6f 6e 2c 20 |e..descr|iption, |
|00000100| 77 65 20 77 69 6c 6c 20 | 64 65 6e 6f 74 65 20 74 |we will |denote t|
|00000110| 68 65 20 60 60 72 65 74 | 75 72 6e 27 27 20 6f 72 |he ``ret|urn'' or|
|00000120| 20 60 60 65 6e 74 65 72 | 27 27 20 6b 65 79 20 62 | ``enter|'' key b|
|00000130| 79 0d 0a 7b 5c 74 74 20 | 3c 52 45 54 3e 7d 20 61 |y..{\tt |<RET>} a|
|00000140| 6e 64 20 74 68 65 20 60 | 60 64 65 6c 65 74 65 27 |nd the `|`delete'|
|00000150| 27 20 6f 72 20 60 60 72 | 75 62 6f 75 74 27 27 20 |' or ``r|ubout'' |
|00000160| 6b 65 79 20 62 79 20 7b | 5c 74 74 20 3c 44 45 4c |key by {|\tt <DEL|
|00000170| 3e 7d 2c 0d 0a 74 68 65 | 20 60 60 62 61 63 6b 73 |>},..the| ``backs|
|00000180| 70 61 63 65 27 27 20 6b | 65 79 20 62 79 20 7b 5c |pace'' k|ey by {\|
|00000190| 74 74 20 3c 44 45 4c 20 | 4c 45 46 54 3e 7d 2e 0d |tt <DEL |LEFT>}..|
|000001a0| 0a 54 68 65 20 7b 5c 74 | 74 20 3c 42 52 45 41 4b |.The {\t|t <BREAK|
|000001b0| 3e 7d 20 69 73 20 61 20 | 73 70 65 63 69 61 6c 20 |>} is a |special |
|000001c0| 6b 65 79 20 74 6f 0d 0a | 6e 6f 74 69 66 79 20 74 |key to..|notify t|
|000001d0| 68 65 20 45 6c 61 6e 20 | 50 72 6f 67 72 61 6d 6d |he Elan |Programm|
|000001e0| 69 6e 67 20 45 6e 76 69 | 72 6f 6e 6d 65 6e 74 20 |ing Envi|ronment |
|000001f0| 74 6f 20 73 74 6f 70 20 | 77 68 61 74 65 76 65 72 |to stop |whatever|
|00000200| 20 69 74 20 69 73 0d 0a | 64 6f 69 6e 67 2e 20 49 | it is..|doing. I|
|00000210| 74 73 20 72 65 61 6c 69 | 7a 61 74 69 6f 6e 20 6d |ts reali|zation m|
|00000220| 61 79 20 77 65 6c 6c 20 | 62 65 20 64 69 66 66 65 |ay well |be diffe|
|00000230| 72 65 6e 74 20 66 6f 72 | 20 74 68 65 20 76 61 72 |rent for| the var|
|00000240| 69 6f 75 73 0d 0a 69 6d | 70 6c 65 6d 65 6e 74 61 |ious..im|plementa|
|00000250| 74 69 6f 6e 73 20 28 43 | 4e 54 4c 2d 43 2c 20 42 |tions (C|NTL-C, B|
|00000260| 52 45 41 4b 2d 6b 65 79 | 2c 20 73 70 65 63 69 61 |REAK-key|, specia|
|00000270| 6c 20 62 75 74 74 6f 6e | 73 2c 20 65 74 63 2e 3b |l button|s, etc.;|
|00000280| 20 72 65 61 64 0d 0a 74 | 68 65 20 64 6f 63 75 6d | read..t|he docum|
|00000290| 65 6e 74 61 74 69 6f 6e | 20 77 68 69 63 68 20 69 |entation| which i|
|000002a0| 73 20 64 69 73 74 72 69 | 62 75 74 65 64 20 6f 6e |s distri|buted on|
|000002b0| 20 74 68 65 20 66 6c 6f | 70 70 79 20 64 69 73 63 | the flo|ppy disc|
|000002c0| 20 77 69 74 68 20 74 68 | 65 0d 0a 73 6f 66 74 77 | with th|e..softw|
|000002d0| 61 72 65 29 2e 20 49 6e | 20 73 63 72 65 65 6e 20 |are). In| screen |
|000002e0| 6f 75 74 70 75 74 2c 20 | 74 68 65 20 63 75 72 73 |output, |the curs|
|000002f0| 6f 72 20 69 73 20 64 65 | 70 69 63 74 65 64 20 61 |or is de|picted a|
|00000300| 73 20 5c 63 75 72 73 6f | 72 2e 0d 0a 0d 0a 5c 73 |s \curso|r.....\s|
|00000310| 65 63 74 69 6f 6e 7b 43 | 6f 6d 70 6f 6e 65 6e 74 |ection{C|omponent|
|00000320| 73 20 6f 66 20 74 68 65 | 20 45 6c 61 6e 20 50 72 |s of the| Elan Pr|
|00000330| 6f 67 72 61 6d 6d 69 6e | 67 20 45 6e 76 69 72 6f |ogrammin|g Enviro|
|00000340| 6e 6d 65 6e 74 7d 0d 0a | 20 0d 0a 54 68 65 20 45 |nment}..| ..The E|
|00000350| 6c 61 6e 20 50 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |lan Prog|ramming |
|00000360| 45 6e 76 69 72 6f 6e 6d | 65 6e 74 20 63 6f 6e 63 |Environm|ent conc|
|00000370| 65 70 74 75 61 6c 6c 79 | 20 63 6f 6e 73 69 73 74 |eptually| consist|
|00000380| 73 20 6f 66 20 73 69 78 | 0d 0a 66 75 6e 63 74 69 |s of six|..functi|
|00000390| 6f 6e 61 6c 20 6d 6f 64 | 75 6c 65 73 2c 20 63 6f |onal mod|ules, co|
|000003a0| 6d 6d 75 6e 69 63 61 74 | 69 6e 67 20 62 79 20 77 |mmunicat|ing by w|
|000003b0| 61 79 20 6f 66 20 61 20 | 63 6f 6d 6d 6f 6e 20 64 |ay of a |common d|
|000003c0| 61 74 61 20 73 74 72 75 | 63 74 75 72 65 0d 0a 28 |ata stru|cture..(|
|000003d0| 74 68 65 20 7b 5c 65 6d | 20 6d 65 6d 6f 72 79 7d |the {\em| memory}|
|000003e0| 29 20 61 6e 64 20 28 69 | 6e 20 73 6f 6d 65 20 63 |) and (i|n some c|
|000003f0| 61 73 65 73 20 72 65 63 | 75 72 73 69 76 65 6c 79 |ases rec|ursively|
|00000400| 29 20 69 6e 76 6f 6b 69 | 6e 67 20 65 61 63 68 0d |) invoki|ng each.|
|00000410| 0a 6f 74 68 65 72 27 73 | 20 73 65 72 76 69 63 65 |.other's| service|
|00000420| 73 2e 0d 0a 0d 0a 5c 73 | 75 62 73 65 63 74 69 6f |s.....\s|ubsectio|
|00000430| 6e 7b 4d 6f 64 75 6c 65 | 73 20 6f 66 20 74 68 65 |n{Module|s of the|
|00000440| 20 45 6c 61 6e 20 50 72 | 6f 67 72 61 6d 6d 69 6e | Elan Pr|ogrammin|
|00000450| 67 20 45 6e 76 69 72 6f | 6e 6d 65 6e 74 7d 0d 0a |g Enviro|nment}..|
|00000460| 0d 0a 54 68 65 20 6d 6f | 64 75 6c 65 73 20 6f 66 |..The mo|dules of|
|00000470| 20 74 68 65 20 45 6c 61 | 6e 20 50 72 6f 67 72 61 | the Ela|n Progra|
|00000480| 6d 6d 69 6e 67 20 45 6e | 76 69 72 6f 6e 6d 65 6e |mming En|vironmen|
|00000490| 74 20 61 72 65 3a 0d 0a | 0d 0a 5c 62 65 67 69 6e |t are:..|..\begin|
|000004a0| 7b 69 74 65 6d 69 7a 65 | 7d 0d 0a 5c 69 74 65 6d |{itemize|}..\item|
|000004b0| 09 54 68 65 20 7b 5c 65 | 6d 20 6d 6f 6e 69 74 6f |.The {\e|m monito|
|000004c0| 72 7d 2c 20 61 63 74 69 | 6e 67 20 61 73 20 61 20 |r}, acti|ng as a |
|000004d0| 63 6f 6d 6d 61 6e 64 20 | 69 6e 74 65 72 70 72 65 |command |interpre|
|000004e0| 74 65 72 2c 20 70 72 6f | 76 69 64 65 73 0d 0a 09 |ter, pro|vides...|
|000004f0| 6d 6f 73 74 20 6f 66 20 | 74 68 65 20 75 73 65 72 |most of |the user|
|00000500| 20 69 6e 74 65 72 66 61 | 63 65 20 61 6e 64 20 69 | interfa|ce and i|
|00000510| 6e 76 6f 6b 65 73 20 61 | 6c 6c 20 6f 74 68 65 72 |nvokes a|ll other|
|00000520| 20 6d 6f 64 75 6c 65 73 | 2e 0d 0a 5c 69 74 65 6d | modules|...\item|
|00000530| 09 54 68 65 20 7b 5c 65 | 6d 20 74 72 61 6e 73 6c |.The {\e|m transl|
|00000540| 61 74 6f 72 7d 20 61 63 | 63 65 70 74 73 20 69 6e |ator} ac|cepts in|
|00000550| 70 75 74 20 6f 66 20 64 | 65 66 69 6e 69 74 69 6f |put of d|efinitio|
|00000560| 6e 73 2c 20 74 72 61 6e | 73 6c 61 74 65 73 0d 0a |ns, tran|slates..|
|00000570| 09 74 68 65 6d 20 74 6f | 20 69 6e 74 65 72 6e 61 |.them to| interna|
|00000580| 6c 20 66 6f 72 6d 20 61 | 6e 64 20 73 74 6f 72 65 |l form a|nd store|
|00000590| 73 20 74 68 65 6d 20 69 | 6e 74 6f 20 6d 65 6d 6f |s them i|nto memo|
|000005a0| 72 79 2e 0d 0a 5c 69 74 | 65 6d 09 54 68 65 20 7b |ry...\it|em.The {|
|000005b0| 5c 65 6d 20 6c 69 73 74 | 65 72 7d 20 70 72 6f 76 |\em list|er} prov|
|000005c0| 69 64 65 73 20 61 20 73 | 74 72 75 63 74 75 72 65 |ides a s|tructure|
|000005d0| 64 20 6f 76 65 72 76 69 | 65 77 20 6f 66 20 74 68 |d overvi|ew of th|
|000005e0| 65 0d 0a 09 64 65 66 69 | 6e 65 64 20 6e 61 6d 65 |e...defi|ned name|
|000005f0| 73 20 61 6e 64 20 74 68 | 65 69 72 20 64 65 66 69 |s and th|eir defi|
|00000600| 6e 69 74 69 6f 6e 73 2e | 0d 0a 5c 69 74 65 6d 09 |nitions.|..\item.|
|00000610| 54 68 65 20 7b 5c 65 6d | 20 65 64 69 74 6f 72 7d |The {\em| editor}|
|00000620| 20 74 61 6b 65 73 20 63 | 61 72 65 20 6f 66 20 61 | takes c|are of a|
|00000630| 6c 6c 20 74 65 78 74 20 | 69 6e 70 75 74 2c 20 66 |ll text |input, f|
|00000640| 6f 72 20 65 78 61 6d 70 | 6c 65 0d 0a 09 77 68 65 |or examp|le...whe|
|00000650| 6e 20 65 6e 74 65 72 69 | 6e 67 20 6f 72 20 65 64 |n enteri|ng or ed|
|00000660| 69 74 69 6e 67 20 61 20 | 64 65 66 69 6e 69 74 69 |iting a |definiti|
|00000670| 6f 6e 2e 0d 0a 5c 69 74 | 65 6d 09 54 68 65 20 7b |on...\it|em.The {|
|00000680| 5c 65 6d 20 63 68 65 63 | 6b 65 72 7d 20 70 65 72 |\em chec|ker} per|
|00000690| 66 6f 72 6d 73 20 74 68 | 65 20 63 68 65 63 6b 69 |forms th|e checki|
|000006a0| 6e 67 20 6f 66 20 73 6f | 6d 65 20 73 74 61 74 69 |ng of so|me stati|
|000006b0| 63 0d 0a 09 70 72 6f 70 | 65 72 74 69 65 73 20 6f |c...prop|erties o|
|000006c0| 66 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 70 72 |f the pr|ogram pr|
|000006d0| 69 6f 72 20 74 6f 20 69 | 74 73 20 65 78 65 63 75 |ior to i|ts execu|
|000006e0| 74 69 6f 6e 2e 0d 0a 5c | 69 74 65 6d 09 54 68 65 |tion...\|item.The|
|000006f0| 20 7b 5c 65 6d 20 65 78 | 65 63 75 74 6f 72 7d 20 | {\em ex|ecutor} |
|00000700| 65 78 65 63 75 74 65 73 | 20 63 68 65 63 6b 65 64 |executes| checked|
|00000710| 20 70 72 6f 67 72 61 6d | 73 2e 0d 0a 5c 65 6e 64 | program|s...\end|
|00000720| 7b 69 74 65 6d 69 7a 65 | 7d 0d 0a 0d 0a 54 68 65 |{itemize|}....The|
|00000730| 20 72 65 6c 61 74 69 6f | 6e 73 68 69 70 20 62 65 | relatio|nship be|
|00000740| 74 77 65 65 6e 20 74 68 | 65 73 65 20 6d 6f 64 75 |tween th|ese modu|
|00000750| 6c 65 73 20 69 73 20 64 | 69 73 70 6c 61 79 65 64 |les is d|isplayed|
|00000760| 20 69 6e 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e | in the |followin|
|00000770| 67 20 66 69 67 75 72 65 | 3a 0d 0a 0d 0a 5c 70 69 |g figure|:....\pi|
|00000780| 63 28 33 31 35 2c 31 38 | 30 29 7b 5c 73 6d 61 6c |c(315,18|0){\smal|
|00000790| 6c 0d 0a 20 20 5c 70 75 | 74 28 30 30 30 2c 31 37 |l.. \pu|t(000,17|
|000007a0| 30 29 7b 5c 75 6e 64 65 | 72 6c 69 6e 65 7b 5c 72 |0){\unde|rline{\r|
|000007b0| 6d 20 6d 6f 64 75 6c 65 | 73 7d 7d 0d 0a 20 20 25 |m module|s}}.. %|
|000007c0| 0d 0a 20 20 5c 70 75 74 | 28 31 35 35 2c 31 35 30 |.. \put|(155,150|
|000007d0| 29 7b 5c 6f 76 61 6c 28 | 37 30 2c 32 30 29 7d 0d |){\oval(|70,20)}.|
|000007e0| 0a 20 20 5c 70 75 74 28 | 31 32 30 2c 31 35 30 29 |. \put(|120,150)|
|000007f0| 7b 5c 72 61 69 73 65 62 | 6f 78 0d 0a 20 20 20 20 |{\raiseb|ox.. |
|00000800| 20 20 20 20 20 20 20 20 | 20 20 20 20 7b 2d 30 30 | | {-00|
|00000810| 35 5c 75 6e 69 74 6c 65 | 6e 67 74 68 7d 0d 0a 20 |5\unitle|ngth}.. |
|00000820| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 7b | | {|
|00000830| 5c 6d 61 6b 65 62 6f 78 | 28 30 37 30 2c 30 31 30 |\makebox|(070,010|
|00000840| 29 7b 5c 74 74 5c 73 74 | 72 75 74 20 6d 6f 6e 69 |){\tt\st|rut moni|
|00000850| 74 6f 72 7d 7d 7d 0d 0a | 20 20 5c 70 75 74 28 31 |tor}}}..| \put(1|
|00000860| 34 30 2c 31 34 30 29 7b | 5c 76 65 63 74 6f 72 28 |40,140){|\vector(|
|00000870| 2d 32 2c 2d 31 29 7b 32 | 30 7d 7d 0d 0a 20 20 5c |-2,-1){2|0}}.. \|
|00000880| 70 75 74 28 31 35 30 2c | 31 34 30 29 7b 5c 76 65 |put(150,|140){\ve|
|00000890| 63 74 6f 72 28 2d 31 2c | 2d 31 29 7b 32 30 7d 7d |ctor(-1,|-1){20}}|
|000008a0| 0d 0a 20 20 5c 70 75 74 | 28 31 36 30 2c 31 34 30 |.. \put|(160,140|
|000008b0| 29 7b 5c 76 65 63 74 6f | 72 28 31 2c 2d 31 29 7b |){\vecto|r(1,-1){|
|000008c0| 32 30 7d 7d 0d 0a 20 20 | 5c 70 75 74 28 31 37 30 |20}}.. |\put(170|
|000008d0| 2c 31 34 30 29 7b 5c 76 | 65 63 74 6f 72 28 32 2c |,140){\v|ector(2,|
|000008e0| 2d 31 29 7b 32 30 7d 7d | 0d 0a 20 20 25 0d 0a 20 |-1){20}}|.. %.. |
|000008f0| 20 5c 70 75 74 28 30 33 | 35 2c 31 30 30 29 7b 5c | \put(03|5,100){\|
|00000900| 6f 76 61 6c 28 37 30 2c | 32 30 29 7d 0d 0a 20 20 |oval(70,|20)}.. |
|00000910| 5c 70 75 74 28 30 30 30 | 2c 31 30 30 29 7b 5c 72 |\put(000|,100){\r|
|00000920| 61 69 73 65 62 6f 78 0d | 0a 20 20 20 20 20 20 20 |aisebox.|. |
|00000930| 20 20 20 20 20 20 20 20 | 20 7b 2d 30 30 35 5c 75 | | {-005\u|
|00000940| 6e 69 74 6c 65 6e 67 74 | 68 7d 0d 0a 20 20 20 20 |nitlengt|h}.. |
|00000950| 20 20 20 20 20 20 20 20 | 20 20 20 20 7b 5c 6d 61 | | {\ma|
|00000960| 6b 65 62 6f 78 28 30 37 | 30 2c 30 31 30 29 7b 5c |kebox(07|0,010){\|
|00000970| 74 74 5c 73 74 72 75 74 | 20 65 64 69 74 6f 72 7d |tt\strut| editor}|
|00000980| 7d 7d 0d 0a 20 20 5c 70 | 75 74 28 30 35 35 2c 30 |}}.. \p|ut(055,0|
|00000990| 39 30 29 7b 5c 76 65 63 | 74 6f 72 28 30 2c 2d 31 |90){\vec|tor(0,-1|
|000009a0| 29 7b 32 30 7d 7d 0d 0a | 20 20 25 0d 0a 20 20 5c |){20}}..| %.. \|
|000009b0| 70 75 74 28 31 31 35 2c | 31 30 30 29 7b 5c 6f 76 |put(115,|100){\ov|
|000009c0| 61 6c 28 37 30 2c 32 30 | 29 7d 0d 0a 20 20 5c 70 |al(70,20|)}.. \p|
|000009d0| 75 74 28 30 38 30 2c 31 | 30 30 29 7b 5c 72 61 69 |ut(080,1|00){\rai|
|000009e0| 73 65 62 6f 78 0d 0a 20 | 20 20 20 20 20 20 20 20 |sebox.. | |
|000009f0| 20 20 20 20 20 20 20 7b | 2d 30 30 35 5c 75 6e 69 | {|-005\uni|
|00000a00| 74 6c 65 6e 67 74 68 7d | 0d 0a 20 20 20 20 20 20 |tlength}|.. |
|00000a10| 20 20 20 20 20 20 20 20 | 20 20 7b 5c 6d 61 6b 65 | | {\make|
|00000a20| 62 6f 78 28 30 37 30 2c | 30 31 30 29 7b 5c 74 74 |box(070,|010){\tt|
|00000a30| 5c 73 74 72 75 74 20 6c | 69 73 74 65 72 7d 7d 7d |\strut l|ister}}}|
|00000a40| 0d 0a 20 20 5c 70 75 74 | 28 30 38 30 2c 31 30 30 |.. \put|(080,100|
|00000a50| 29 7b 5c 76 65 63 74 6f | 72 28 2d 31 2c 30 29 7b |){\vecto|r(-1,0){|
|00000a60| 31 30 7d 7d 0d 0a 20 20 | 25 0d 0a 20 20 5c 70 75 |10}}.. |%.. \pu|
|00000a70| 74 28 31 39 35 2c 31 30 | 30 29 7b 5c 6f 76 61 6c |t(195,10|0){\oval|
|00000a80| 28 37 30 2c 32 30 29 7d | 0d 0a 20 20 5c 70 75 74 |(70,20)}|.. \put|
|00000a90| 28 31 36 30 2c 31 30 30 | 29 7b 5c 72 61 69 73 65 |(160,100|){\raise|
|00000aa0| 62 6f 78 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |box.. | |
|00000ab0| 20 20 20 20 20 7b 2d 30 | 30 35 5c 75 6e 69 74 6c | {-0|05\unitl|
|00000ac0| 65 6e 67 74 68 7d 0d 0a | 20 20 20 20 20 20 20 20 |ength}..| |
|00000ad0| 20 20 20 20 20 20 20 20 | 7b 5c 6d 61 6b 65 62 6f | |{\makebo|
|00000ae0| 78 28 30 37 30 2c 30 31 | 30 29 7b 5c 74 74 5c 73 |x(070,01|0){\tt\s|
|00000af0| 74 72 75 74 20 63 68 65 | 63 6b 65 72 7d 7d 7d 0d |trut che|cker}}}.|
|00000b00| 0a 20 20 5c 70 75 74 28 | 32 31 35 2c 30 39 30 29 |. \put(|215,090)|
|00000b10| 7b 5c 76 65 63 74 6f 72 | 28 30 2c 2d 31 29 7b 32 |{\vector|(0,-1){2|
|00000b20| 30 7d 7d 0d 0a 20 20 25 | 0d 0a 20 20 5c 70 75 74 |0}}.. %|.. \put|
|00000b30| 28 30 37 35 2c 30 36 30 | 29 7b 5c 6f 76 61 6c 28 |(075,060|){\oval(|
|00000b40| 37 30 2c 32 30 29 7d 0d | 0a 20 20 5c 70 75 74 28 |70,20)}.|. \put(|
|00000b50| 30 34 30 2c 30 36 30 29 | 7b 5c 72 61 69 73 65 62 |040,060)|{\raiseb|
|00000b60| 6f 78 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ox.. | |
|00000b70| 20 20 20 20 7b 2d 30 30 | 35 5c 75 6e 69 74 6c 65 | {-00|5\unitle|
|00000b80| 6e 67 74 68 7d 0d 0a 20 | 20 20 20 20 20 20 20 20 |ngth}.. | |
|00000b90| 20 20 20 20 20 20 20 7b | 5c 6d 61 6b 65 62 6f 78 | {|\makebox|
|00000ba0| 28 30 37 30 2c 30 31 30 | 29 7b 5c 74 74 5c 73 74 |(070,010|){\tt\st|
|00000bb0| 72 75 74 20 74 72 61 6e | 73 6c 61 74 6f 72 7d 7d |rut tran|slator}}|
|00000bc0| 7d 0d 0a 20 20 5c 70 75 | 74 28 31 31 30 2c 30 36 |}.. \pu|t(110,06|
|00000bd0| 30 29 7b 5c 76 65 63 74 | 6f 72 28 31 2c 30 29 7b |0){\vect|or(1,0){|
|00000be0| 31 30 7d 7d 0d 0a 20 20 | 25 0d 0a 20 20 5c 70 75 |10}}.. |%.. \pu|
|00000bf0| 74 28 32 33 35 2c 30 36 | 30 29 7b 5c 6f 76 61 6c |t(235,06|0){\oval|
|00000c00| 28 37 30 2c 32 30 29 7d | 0d 0a 20 20 5c 70 75 74 |(70,20)}|.. \put|
|00000c10| 28 32 30 30 2c 30 36 30 | 29 7b 5c 72 61 69 73 65 |(200,060|){\raise|
|00000c20| 62 6f 78 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |box.. | |
|00000c30| 20 20 20 20 20 7b 2d 30 | 30 35 5c 75 6e 69 74 6c | {-0|05\unitl|
|00000c40| 65 6e 67 74 68 7d 0d 0a | 20 20 20 20 20 20 20 20 |ength}..| |
|00000c50| 20 20 20 20 20 20 20 20 | 7b 5c 6d 61 6b 65 62 6f | |{\makebo|
|00000c60| 78 28 30 37 30 2c 30 31 | 30 29 7b 5c 74 74 5c 73 |x(070,01|0){\tt\s|
|00000c70| 74 72 75 74 20 65 78 65 | 63 75 74 6f 72 7d 7d 7d |trut exe|cutor}}}|
|00000c80| 0d 0a 20 20 5c 70 75 74 | 28 32 35 35 2c 30 35 30 |.. \put|(255,050|
|00000c90| 29 7b 5c 76 65 63 74 6f | 72 28 30 2c 2d 31 29 7b |){\vecto|r(0,-1){|
|00000ca0| 32 30 7d 7d 0d 0a 20 20 | 25 0d 0a 20 20 5c 70 75 |20}}.. |%.. \pu|
|00000cb0| 74 28 31 35 35 2c 30 36 | 30 29 7b 5c 6f 76 61 6c |t(155,06|0){\oval|
|00000cc0| 28 37 30 2c 32 30 29 5b | 74 5d 7d 0d 0a 20 20 5c |(70,20)[|t]}.. \|
|00000cd0| 70 75 74 28 31 32 30 2c | 30 36 30 29 7b 5c 6c 69 |put(120,|060){\li|
|00000ce0| 6e 65 28 30 2c 2d 31 29 | 7b 35 30 7d 7d 0d 0a 20 |ne(0,-1)|{50}}.. |
|00000cf0| 20 5c 70 75 74 28 31 39 | 30 2c 30 36 30 29 7b 5c | \put(19|0,060){\|
|00000d00| 6c 69 6e 65 28 30 2c 2d | 31 29 7b 35 30 7d 7d 0d |line(0,-|1){50}}.|
|00000d10| 0a 20 20 5c 70 75 74 28 | 31 35 35 2c 30 31 30 29 |. \put(|155,010)|
|00000d20| 7b 5c 6f 76 61 6c 28 37 | 30 2c 32 30 29 5b 62 5d |{\oval(7|0,20)[b]|
|00000d30| 7d 0d 0a 20 20 5c 70 75 | 74 28 31 32 30 2c 30 36 |}.. \pu|t(120,06|
|00000d40| 30 29 7b 5c 72 61 69 73 | 65 62 6f 78 0d 0a 20 20 |0){\rais|ebox.. |
|00000d50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 7b 2d | | {-|
|00000d60| 30 30 35 5c 75 6e 69 74 | 6c 65 6e 67 74 68 7d 0d |005\unit|length}.|
|00000d70| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00000d80| 20 7b 5c 6d 61 6b 65 62 | 6f 78 28 30 37 30 2c 30 | {\makeb|ox(070,0|
|00000d90| 31 30 29 7b 5c 74 74 5c | 73 74 72 75 74 20 6d 65 |10){\tt\|strut me|
|00000da0| 6d 6f 72 79 7d 7d 7d 0d | 0a 20 20 5c 70 75 74 28 |mory}}}.|. \put(|
|00000db0| 31 33 35 2c 30 37 30 29 | 7b 5c 76 65 63 74 6f 72 |135,070)|{\vector|
|00000dc0| 28 30 2c 31 29 7b 32 30 | 7d 7d 0d 0a 20 20 5c 70 |(0,1){20|}}.. \p|
|00000dd0| 75 74 28 31 37 35 2c 30 | 37 30 29 7b 5c 76 65 63 |ut(175,0|70){\vec|
|00000de0| 74 6f 72 28 30 2c 31 29 | 7b 32 30 7d 7d 0d 0a 20 |tor(0,1)|{20}}.. |
|00000df0| 20 5c 70 75 74 28 31 34 | 35 2c 30 34 35 29 7b 5c | \put(14|5,045){\|
|00000e00| 74 68 69 63 6b 6c 69 6e | 65 73 5c 6c 69 6e 65 28 |thicklin|es\line(|
|00000e10| 31 2c 2d 31 29 7b 30 33 | 30 7d 7d 0d 0a 20 20 5c |1,-1){03|0}}.. \|
|00000e20| 70 75 74 28 31 35 35 2c | 30 33 35 29 7b 5c 74 68 |put(155,|035){\th|
|00000e30| 69 63 6b 6c 69 6e 65 73 | 5c 6c 69 6e 65 28 2d 31 |icklines|\line(-1|
|00000e40| 2c 2d 31 29 7b 30 32 30 | 7d 7d 0d 0a 20 20 5c 70 |,-1){020|}}.. \p|
|00000e50| 75 74 28 31 34 35 2c 30 | 32 35 29 7b 5c 74 68 69 |ut(145,0|25){\thi|
|00000e60| 63 6b 6c 69 6e 65 73 5c | 6c 69 6e 65 28 31 2c 2d |cklines\|line(1,-|
|00000e70| 31 29 7b 30 31 30 7d 7d | 0d 0a 20 20 25 0d 0a 20 |1){010}}|.. %.. |
|00000e80| 20 5c 70 75 74 28 30 32 | 30 2c 30 32 35 29 7b 5c | \put(02|0,025){\|
|00000e90| 72 61 69 73 65 62 6f 78 | 0d 0a 20 20 20 20 20 20 |raisebox|.. |
|00000ea0| 20 20 20 20 20 20 20 20 | 20 20 7b 2d 30 30 35 5c | | {-005\|
|00000eb0| 75 6e 69 74 6c 65 6e 67 | 74 68 7d 0d 0a 20 20 20 |unitleng|th}.. |
|00000ec0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 7b 5c 6d | | {\m|
|00000ed0| 61 6b 65 62 6f 78 28 30 | 37 30 2c 30 31 30 29 7b |akebox(0|70,010){|
|00000ee0| 5c 74 74 5c 73 74 72 75 | 74 20 70 72 6f 67 72 61 |\tt\stru|t progra|
|00000ef0| 6d 7d 7d 7d 0d 0a 20 20 | 5c 70 75 74 28 30 35 35 |m}}}.. |\put(055|
|00000f00| 2c 30 33 30 29 7b 5c 76 | 65 63 74 6f 72 28 30 2c |,030){\v|ector(0,|
|00000f10| 31 29 7b 32 30 7d 7d 0d | 0a 20 20 25 0d 0a 20 20 |1){20}}.|. %.. |
|00000f20| 5c 70 75 74 28 32 32 30 | 2c 30 32 35 29 7b 5c 72 |\put(220|,025){\r|
|00000f30| 61 69 73 65 62 6f 78 0d | 0a 20 20 20 20 20 20 20 |aisebox.|. |
|00000f40| 20 20 20 20 20 20 20 20 | 20 7b 2d 30 30 35 5c 75 | | {-005\u|
|00000f50| 6e 69 74 6c 65 6e 67 74 | 68 7d 0d 0a 20 20 20 20 |nitlengt|h}.. |
|00000f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 7b 5c 6d 61 | | {\ma|
|00000f70| 6b 65 62 6f 78 28 30 37 | 30 2c 30 31 30 29 7b 5c |kebox(07|0,010){\|
|00000f80| 74 74 5c 73 74 72 75 74 | 20 72 65 73 75 6c 74 73 |tt\strut| results|
|00000f90| 7d 7d 7d 0d 0a 20 20 25 | 0d 0a 7d 0d 0a 0d 0a 5c |}}}.. %|..}....\|
|00000fa0| 73 75 62 73 65 63 74 69 | 6f 6e 7b 54 68 65 20 6d |subsecti|on{The m|
|00000fb0| 65 6d 6f 72 79 7d 0d 0a | 0d 0a 54 68 65 20 7b 5c |emory}..|..The {\|
|00000fc0| 65 6d 20 6d 65 6d 6f 72 | 79 7d 20 68 6f 6c 64 73 |em memor|y} holds|
|00000fd0| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 20 69 | the fol|lowing i|
|00000fe0| 6e 66 6f 72 6d 61 74 69 | 6f 6e 3a 0d 0a 0d 0a 5c |nformati|on:....\|
|00000ff0| 62 65 67 69 6e 7b 69 74 | 65 6d 69 7a 65 7d 0d 0a |begin{it|emize}..|
|00001000| 5c 69 74 65 6d 09 61 20 | 74 61 62 6c 65 20 6f 66 |\item.a |table of|
|00001010| 20 61 6c 6c 20 6e 61 6d | 65 73 20 77 69 74 68 20 | all nam|es with |
|00001020| 74 68 65 69 72 20 61 74 | 74 72 69 62 75 74 65 73 |their at|tributes|
|00001030| 20 28 74 68 65 20 7b 5c | 65 6d 20 6e 61 6d 65 20 | (the {\|em name |
|00001040| 6c 69 73 74 7d 29 2c 0d | 0a 5c 69 74 65 6d 09 74 |list}),.|.\item.t|
|00001050| 68 65 20 7b 5c 65 6d 20 | 73 74 61 63 6b 7d 2c 20 |he {\em |stack}, |
|00001060| 74 68 65 20 7b 5c 65 6d | 20 68 65 61 70 7d 20 61 |the {\em| heap} a|
|00001070| 6e 64 0d 0a 5c 69 74 65 | 6d 09 74 68 65 20 64 65 |nd..\ite|m.the de|
|00001080| 66 69 6e 69 74 69 6f 6e | 73 20 66 6f 72 6d 69 6e |finition|s formin|
|00001090| 67 20 74 68 65 20 70 72 | 6f 67 72 61 6d 2c 20 69 |g the pr|ogram, i|
|000010a0| 6e 20 73 6f 6d 65 20 69 | 6e 74 65 72 6e 61 6c 20 |n some i|nternal |
|000010b0| 66 6f 72 6d 2e 0d 0a 5c | 65 6e 64 7b 69 74 65 6d |form...\|end{item|
|000010c0| 69 7a 65 7d 0d 0a 0d 0a | 5c 6e 6f 69 6e 64 65 6e |ize}....|\noinden|
|000010d0| 74 0d 0a 55 6e 66 6f 72 | 74 75 6e 61 74 65 6c 79 |t..Unfor|tunately|
|000010e0| 2c 20 70 72 65 73 65 6e | 74 2d 64 61 79 20 63 6f |, presen|t-day co|
|000010f0| 6d 70 75 74 65 72 73 20 | 64 6f 20 6e 6f 74 20 72 |mputers |do not r|
|00001100| 65 74 61 69 6e 20 74 68 | 65 20 63 6f 6e 74 65 6e |etain th|e conten|
|00001110| 74 73 0d 0a 6f 66 20 74 | 68 65 69 72 20 6d 65 6d |ts..of t|heir mem|
|00001120| 6f 72 79 20 75 70 6f 6e | 20 62 65 69 6e 67 20 73 |ory upon| being s|
|00001130| 77 69 74 63 68 65 64 20 | 6f 66 66 2c 20 73 6f 20 |witched |off, so |
|00001140| 74 68 61 74 20 74 68 65 | 20 6d 65 6d 6f 72 79 20 |that the| memory |
|00001150| 6d 75 73 74 0d 0a 62 65 | 20 65 78 70 6c 69 63 69 |must..be| explici|
|00001160| 74 6c 79 20 77 72 69 74 | 74 65 6e 20 74 6f 20 61 |tly writ|ten to a|
|00001170| 20 66 69 6c 65 20 69 6e | 20 6f 72 64 65 72 20 74 | file in| order t|
|00001180| 6f 20 62 65 20 61 62 6c | 65 20 74 6f 20 72 65 61 |o be abl|e to rea|
|00001190| 64 20 69 74 0d 0a 62 61 | 63 6b 20 6c 61 74 65 72 |d it..ba|ck later|
|000011a0| 2e 0d 0a 0d 0a 44 75 72 | 69 6e 67 20 65 78 65 63 |.....Dur|ing exec|
|000011b0| 75 74 69 6f 6e 20 74 68 | 65 20 65 78 65 63 75 74 |ution th|e execut|
|000011c0| 6f 72 20 74 72 69 65 73 | 20 74 6f 20 72 65 63 79 |or tries| to recy|
|000011d0| 63 6c 65 20 61 6c 6c 20 | 73 70 61 63 65 20 69 6e |cle all |space in|
|000011e0| 20 74 68 65 0d 0a 68 65 | 61 70 20 74 61 6b 65 6e | the..he|ap taken|
|000011f0| 20 75 70 20 62 79 20 6f | 62 6a 65 63 74 73 20 74 | up by o|bjects t|
|00001200| 68 61 74 20 61 72 65 20 | 6e 6f 20 6c 6f 6e 67 65 |hat are |no longe|
|00001210| 72 20 6e 65 65 64 65 64 | 2e 20 49 74 20 6d 61 79 |r needed|. It may|
|00001220| 20 68 6f 77 65 76 65 72 | 0d 0a 68 61 70 70 65 6e | however|..happen|
|00001230| 20 74 68 61 74 20 61 20 | 70 72 6f 67 72 61 6d 20 | that a |program |
|00001240| 6e 65 65 64 73 20 6d 6f | 72 65 20 73 70 61 63 65 |needs mo|re space|
|00001250| 20 74 68 61 6e 20 69 73 | 20 61 76 61 69 6c 61 62 | than is| availab|
|00001260| 6c 65 2e 20 54 68 75 73 | 0d 0a 74 68 65 20 6d 65 |le. Thus|..the me|
|00001270| 6d 6f 72 79 20 63 61 6e | 20 67 65 74 20 65 78 68 |mory can| get exh|
|00001280| 61 75 73 74 65 64 3b 20 | 74 68 65 20 6f 6e 6c 79 |austed; |the only|
|00001290| 20 77 61 79 20 6f 75 74 | 20 69 73 20 74 6f 20 73 | way out| is to s|
|000012a0| 61 76 65 20 74 68 65 0d | 0a 70 72 6f 67 72 61 6d |ave the.|.program|
|000012b0| 20 69 6e 20 61 20 66 69 | 6c 65 20 28 62 79 20 6d | in a fi|le (by m|
|000012c0| 65 61 6e 73 20 6f 66 20 | 61 20 77 72 69 74 65 2d |eans of |a write-|
|000012d0| 63 6f 6d 6d 61 6e 64 29 | 20 61 6e 64 20 74 6f 20 |command)| and to |
|000012e0| 73 74 61 72 74 0d 0a 61 | 67 61 69 6e 2e 0d 0a 0d |start..a|gain....|
|000012f0| 0a 5c 73 75 62 73 65 63 | 74 69 6f 6e 7b 46 69 6c |.\subsec|tion{Fil|
|00001300| 65 20 73 74 6f 72 65 7d | 0d 0a 0d 0a 54 68 65 20 |e store}|....The |
|00001310| 45 6c 61 6e 20 50 72 6f | 67 72 61 6d 6d 69 6e 67 |Elan Pro|gramming|
|00001320| 20 45 6e 76 69 72 6f 6e | 6d 65 6e 74 20 77 61 73 | Environ|ment was|
|00001330| 20 64 65 73 69 67 6e 65 | 64 20 74 6f 20 72 75 6e | designe|d to run|
|00001340| 20 75 6e 64 65 72 0d 0a | 61 6e 79 20 6f 70 65 72 | under..|any oper|
|00001350| 61 74 69 6e 67 20 73 79 | 73 74 65 6d 20 6f 6e 20 |ating sy|stem on |
|00001360| 61 20 76 61 72 69 65 74 | 79 20 6f 66 20 63 6f 6d |a variet|y of com|
|00001370| 70 69 6c 65 72 73 2e 20 | 49 74 20 75 73 65 73 20 |pilers. |It uses |
|00001380| 74 68 65 20 66 69 6c 65 | 0d 0a 73 79 73 74 65 6d |the file|..system|
|00001390| 20 6f 66 20 74 68 65 20 | 68 6f 73 74 20 63 6f 6d | of the |host com|
|000013a0| 70 75 74 65 72 20 66 6f | 72 20 73 74 6f 72 69 6e |puter fo|r storin|
|000013b0| 67 20 66 69 6c 65 73 2c | 20 61 64 68 65 72 69 6e |g files,| adherin|
|000013c0| 67 20 74 6f 20 74 68 65 | 0d 0a 63 6f 6e 76 65 6e |g to the|..conven|
|000013d0| 74 69 6f 6e 73 20 6f 66 | 20 74 68 61 74 20 73 79 |tions of| that sy|
|000013e0| 73 74 65 6d 2e 0d 0a 0d | 0a 5c 73 65 63 74 69 6f |stem....|.\sectio|
|000013f0| 6e 7b 54 68 65 20 75 73 | 65 72 20 69 6e 74 65 72 |n{The us|er inter|
|00001400| 66 61 63 65 7d 0d 0a 0d | 0a 5c 73 75 62 73 65 63 |face}...|.\subsec|
|00001410| 74 69 6f 6e 7b 4d 6f 6f | 64 73 7d 0d 0a 0d 0a 46 |tion{Moo|ds}....F|
|00001420| 72 6f 6d 20 74 68 65 20 | 73 74 61 6e 64 70 6f 69 |rom the |standpoi|
|00001430| 6e 74 20 6f 66 20 74 68 | 65 20 75 73 65 72 2c 20 |nt of th|e user, |
|00001440| 74 68 65 20 45 6c 61 6e | 20 50 72 6f 67 72 61 6d |the Elan| Program|
|00001450| 6d 69 6e 67 20 45 6e 76 | 69 72 6f 6e 6d 65 6e 74 |ming Env|ironment|
|00001460| 0d 0a 63 61 6e 20 62 65 | 20 69 6e 20 61 20 6e 75 |..can be| in a nu|
|00001470| 6d 62 65 72 20 6f 66 20 | 7b 5c 65 6d 20 6d 6f 6f |mber of |{\em moo|
|00001480| 64 73 7d 20 28 73 74 61 | 74 65 73 29 2c 20 65 61 |ds} (sta|tes), ea|
|00001490| 63 68 20 77 69 74 68 20 | 69 74 73 20 6f 77 6e 0d |ch with |its own.|
|000014a0| 0a 62 65 68 61 76 69 6f | 75 72 2e 20 49 6e 20 65 |.behavio|ur. In e|
|000014b0| 61 63 68 20 6f 66 20 74 | 68 6f 73 65 20 6d 6f 6f |ach of t|hose moo|
|000014c0| 64 73 2c 20 74 68 65 20 | 45 6c 61 6e 20 50 72 6f |ds, the |Elan Pro|
|000014d0| 67 72 61 6d 6d 69 6e 67 | 20 45 6e 76 69 72 6f 6e |gramming| Environ|
|000014e0| 6d 65 6e 74 0d 0a 61 63 | 63 65 70 74 73 20 61 20 |ment..ac|cepts a |
|000014f0| 6e 75 6d 62 65 72 20 6f | 66 20 73 69 6e 67 6c 65 |number o|f single|
|00001500| 2d 6c 65 74 74 65 72 20 | 7b 5c 65 6d 20 63 6f 6d |-letter |{\em com|
|00001510| 6d 61 6e 64 73 7d 2e 20 | 54 68 65 73 65 20 6d 6f |mands}. |These mo|
|00001520| 6f 64 73 2c 0d 0a 77 69 | 74 68 20 74 68 65 69 72 |ods,..wi|th their|
|00001530| 20 61 73 73 6f 63 69 61 | 74 65 64 20 63 6f 6d 6d | associa|ted comm|
|00001540| 61 6e 64 73 20 61 72 65 | 3a 0d 0a 0d 0a 5c 62 65 |ands are|:....\be|
|00001550| 67 69 6e 7b 69 74 65 6d | 69 7a 65 7d 0d 0a 5c 69 |gin{item|ize}..\i|
|00001560| 74 65 6d 20 63 6f 6d 6d | 61 6e 64 2d 6d 6f 6f 64 |tem comm|and-mood|
|00001570| 5c 5c 20 20 20 20 7b 5c | 74 74 20 63 20 64 20 65 |\\ {\|tt c d e|
|00001580| 20 66 20 6c 20 70 20 71 | 20 72 20 73 20 74 20 76 | f l p q| r s t v|
|00001590| 20 77 20 78 20 7d 20 28 | 73 65 65 20 35 2e 33 29 | w x } (|see 5.3)|
|000015a0| 0d 0a 5c 69 74 65 6d 20 | 65 64 69 74 2d 6d 6f 6f |..\item |edit-moo|
|000015b0| 64 5c 5c 20 20 20 20 20 | 20 20 7b 5c 74 74 20 3c |d\\ | {\tt <|
|000015c0| 52 45 54 3e 20 3c 42 52 | 45 41 4b 3e 20 7d 20 28 |RET> <BR|EAK> } (|
|000015d0| 73 65 65 20 35 2e 34 29 | 0d 0a 5c 69 74 65 6d 20 |see 5.4)|..\item |
|000015e0| 65 78 65 63 75 74 65 2d | 6d 6f 6f 64 5c 5c 20 20 |execute-|mood\\ |
|000015f0| 20 20 7b 5c 74 74 20 3c | 42 52 45 41 4b 3e 20 7d | {\tt <|BREAK> }|
|00001600| 20 28 73 65 65 20 35 2e | 35 29 0d 0a 5c 69 74 65 | (see 5.|5)..\ite|
|00001610| 6d 20 62 61 63 6b 74 72 | 61 63 65 2d 6d 6f 6f 64 |m backtr|ace-mood|
|00001620| 5c 5c 20 20 7b 5c 74 74 | 20 65 20 6e 20 71 20 73 |\\ {\tt| e n q s|
|00001630| 20 7d 20 28 73 65 65 20 | 35 2e 35 2e 32 29 0d 0a | } (see |5.5.2)..|
|00001640| 5c 69 74 65 6d 20 74 72 | 61 63 65 2d 6d 6f 6f 64 |\item tr|ace-mood|
|00001650| 5c 5c 20 20 20 20 20 20 | 7b 5c 74 74 20 62 20 63 |\\ |{\tt b c|
|00001660| 20 65 20 6e 20 70 20 71 | 20 73 20 78 20 3c 42 52 | e n p q| s x <BR|
|00001670| 45 41 4b 3e 20 7d 20 28 | 73 65 65 20 35 2e 35 2e |EAK> } (|see 5.5.|
|00001680| 33 29 0d 0a 5c 69 74 65 | 6d 20 76 65 72 69 66 79 |3)..\ite|m verify|
|00001690| 2d 6d 6f 6f 64 5c 5c 20 | 20 20 20 20 7b 5c 74 74 |-mood\\ | {\tt|
|000016a0| 20 62 20 63 20 65 20 6e | 20 70 20 71 20 73 20 78 | b c e n| p q s x|
|000016b0| 20 3c 42 52 45 41 4b 3e | 20 20 20 7d 20 28 73 65 | <BREAK>| } (se|
|000016c0| 65 20 35 2e 35 2e 34 29 | 0d 0a 5c 65 6e 64 7b 69 |e 5.5.4)|..\end{i|
|000016d0| 74 65 6d 69 7a 65 7d 0d | 0a 0d 0a 5c 6e 6f 69 6e |temize}.|...\noin|
|000016e0| 64 65 6e 74 0d 0a 54 68 | 65 20 63 75 72 72 65 6e |dent..Th|e curren|
|000016f0| 74 20 6d 6f 6f 64 20 69 | 73 20 69 6e 64 69 63 61 |t mood i|s indica|
|00001700| 74 65 64 20 62 79 20 61 | 20 6d 65 73 73 61 67 65 |ted by a| message|
|00001710| 20 69 6e 20 74 68 65 20 | 72 69 67 68 74 2d 68 61 | in the |right-ha|
|00001720| 6e 64 0d 0a 63 6f 72 6e | 65 72 20 6f 66 20 74 68 |nd..corn|er of th|
|00001730| 65 20 62 6f 74 74 6f 6d | 20 6c 69 6e 65 20 6f 66 |e bottom| line of|
|00001740| 20 74 68 65 20 73 63 72 | 65 65 6e 2c 20 74 68 65 | the scr|een, the|
|00001750| 20 7b 5c 65 6d 20 73 74 | 61 74 75 73 20 6c 69 6e | {\em st|atus lin|
|00001760| 65 7d 2e 0d 0a 54 68 65 | 20 6c 65 66 74 2d 68 61 |e}...The| left-ha|
|00001770| 6e 64 20 63 6f 72 6e 65 | 72 20 6f 66 20 74 68 65 |nd corne|r of the|
|00001780| 20 73 74 61 74 75 73 20 | 6c 69 6e 65 20 69 73 20 | status |line is |
|00001790| 75 73 65 64 20 66 6f 72 | 20 65 72 72 6f 72 20 6d |used for| error m|
|000017a0| 65 73 73 61 67 65 73 2e | 0d 0a 0d 0a 45 61 63 68 |essages.|....Each|
|000017b0| 20 6d 6f 6f 64 20 68 61 | 73 20 69 74 73 20 6f 77 | mood ha|s its ow|
|000017c0| 6e 20 73 65 74 20 6f 66 | 20 70 6f 73 73 69 62 6c |n set of| possibl|
|000017d0| 65 20 63 6f 6d 6d 61 6e | 64 73 2c 20 73 6f 6d 65 |e comman|ds, some|
|000017e0| 20 6f 66 20 77 68 69 63 | 68 0d 0a 77 69 6c 6c 20 | of whic|h..will |
|000017f0| 63 61 75 73 65 20 74 68 | 65 20 45 6c 61 6e 20 50 |cause th|e Elan P|
|00001800| 72 6f 67 72 61 6d 6d 69 | 6e 67 20 45 6e 76 69 72 |rogrammi|ng Envir|
|00001810| 6f 6e 6d 65 6e 74 20 74 | 6f 20 73 77 69 74 63 68 |onment t|o switch|
|00001820| 20 69 6e 74 6f 20 61 6e | 6f 74 68 65 72 0d 0a 6d | into an|other..m|
|00001830| 6f 6f 64 2e 0d 0a 0d 0a | 5c 73 75 62 73 65 63 74 |ood.....|\subsect|
|00001840| 69 6f 6e 7b 43 6f 6d 6d | 61 6e 64 73 7d 0d 0a 0d |ion{Comm|ands}...|
|00001850| 0a 43 6f 6d 6d 61 6e 64 | 73 20 63 6f 6e 73 69 73 |.Command|s consis|
|00001860| 74 20 6f 66 20 73 69 6e | 67 6c 65 20 6c 65 74 74 |t of sin|gle lett|
|00001870| 65 72 73 2e 20 4f 6e 20 | 73 6f 6d 65 20 63 6f 6d |ers. On |some com|
|00001880| 70 75 74 65 72 73 20 74 | 68 65 79 20 6d 61 79 0d |puters t|hey may.|
|00001890| 0a 62 65 20 72 65 61 6c | 69 7a 65 64 20 61 73 20 |.be real|ized as |
|000018a0| 73 70 65 63 69 61 6c 20 | 66 75 6e 63 74 69 6f 6e |special |function|
|000018b0| 20 6b 65 79 73 20 6f 72 | 20 61 73 20 63 68 6f 69 | keys or| as choi|
|000018c0| 63 65 73 20 66 72 6f 6d | 20 61 20 6d 65 6e 75 2e |ces from| a menu.|
|000018d0| 0d 0a 43 6f 6d 6d 61 6e | 64 73 20 61 72 65 20 6e |..Comman|ds are n|
|000018e0| 6f 74 20 65 63 68 6f 65 | 64 20 6f 6e 20 74 68 65 |ot echoe|d on the|
|000018f0| 20 73 63 72 65 65 6e 2c | 20 61 6e 64 20 61 72 65 | screen,| and are|
|00001900| 20 6f 62 65 79 65 64 20 | 69 6d 6d 65 64 69 61 74 | obeyed |immediat|
|00001910| 65 6c 79 2c 0d 0a 77 69 | 74 68 6f 75 74 20 77 61 |ely,..wi|thout wa|
|00001920| 69 74 69 6e 67 20 66 6f | 72 20 61 20 7b 5c 74 74 |iting fo|r a {\tt|
|00001930| 20 3c 52 45 54 3e 7d 20 | 6b 65 79 20 74 6f 20 62 | <RET>} |key to b|
|00001940| 65 20 70 72 65 73 73 65 | 64 2e 20 54 68 69 73 20 |e presse|d. This |
|00001950| 63 6f 6e 74 72 69 62 75 | 74 65 73 0d 0a 74 6f 20 |contribu|tes..to |
|00001960| 74 68 65 20 69 6e 74 65 | 72 61 63 74 69 76 65 20 |the inte|ractive |
|00001970| 66 65 65 6c 69 6e 67 20 | 6f 66 20 74 68 65 20 45 |feeling |of the E|
|00001980| 6c 61 6e 20 50 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |lan Prog|ramming |
|00001990| 45 6e 76 69 72 6f 6e 6d | 65 6e 74 2e 0d 0a 0d 0a |Environm|ent.....|
|000019a0| 54 6f 20 61 6e 20 75 6e | 6b 6e 6f 77 6e 20 6f 72 |To an un|known or|
|000019b0| 20 75 6e 61 63 63 65 70 | 74 61 62 6c 65 20 63 6f | unaccep|table co|
|000019c0| 6d 6d 61 6e 64 20 74 68 | 65 20 45 6c 61 6e 20 50 |mmand th|e Elan P|
|000019d0| 72 6f 67 72 61 6d 6d 69 | 6e 67 20 45 6e 76 69 72 |rogrammi|ng Envir|
|000019e0| 6f 6e 6d 65 6e 74 0d 0a | 72 65 61 63 74 73 20 62 |onment..|reacts b|
|000019f0| 79 20 73 68 6f 77 69 6e | 67 20 66 6f 72 20 61 62 |y showin|g for ab|
|00001a00| 6f 75 74 20 6f 6e 65 20 | 73 65 63 6f 6e 64 20 61 |out one |second a|
|00001a10| 20 6d 65 6e 75 20 6f 66 | 20 61 6c 6c 20 61 63 63 | menu of| all acc|
|00001a20| 65 70 74 61 62 6c 65 0d | 0a 63 6f 6d 6d 61 6e 64 |eptable.|.command|
|00001a30| 73 20 28 77 65 20 75 73 | 65 20 74 68 65 20 7b 5c |s (we us|e the {\|
|00001a40| 65 6d 20 6e 65 67 61 74 | 69 76 65 20 6d 65 6e 75 |em negat|ive menu|
|00001a50| 7d 20 74 65 63 68 6e 69 | 71 75 65 3a 20 61 20 6d |} techni|que: a m|
|00001a60| 65 6e 75 20 69 73 0d 0a | 64 69 73 70 6c 61 79 65 |enu is..|displaye|
|00001a70| 64 20 6f 6e 6c 79 20 77 | 68 65 6e 20 61 6e 20 75 |d only w|hen an u|
|00001a80| 6e 61 63 63 65 70 74 61 | 62 6c 65 20 63 6f 6d 6d |naccepta|ble comm|
|00001a90| 61 6e 64 20 69 73 20 67 | 69 76 65 6e 29 2e 20 49 |and is g|iven). I|
|00001aa0| 6e 20 61 6c 6c 0d 0a 6d | 6f 6f 64 73 20 65 78 63 |n all..m|oods exc|
|00001ab0| 65 70 74 20 65 64 69 74 | 2d 6d 6f 6f 64 20 61 6e |ept edit|-mood an|
|00001ac0| 64 20 65 78 65 63 75 74 | 65 2d 6d 6f 6f 64 20 74 |d execut|e-mood t|
|00001ad0| 68 65 20 6c 65 74 74 65 | 72 20 7b 5c 74 74 20 68 |he lette|r {\tt h|
|00001ae0| 20 7d 28 68 65 6c 70 2d | 63 6f 6d 6d 61 6e 64 29 | }(help-|command)|
|00001af0| 0d 0a 63 61 6e 20 62 65 | 20 75 73 65 64 20 74 6f |..can be| used to|
|00001b00| 20 70 72 6f 76 6f 6b 65 | 20 73 75 63 68 20 61 20 | provoke| such a |
|00001b10| 6d 65 6e 75 2e 0d 0a 0d | 0a 5c 73 75 62 73 65 63 |menu....|.\subsec|
|00001b20| 74 69 6f 6e 7b 4e 61 6d | 65 73 7d 0d 0a 0d 0a 54 |tion{Nam|es}....T|
|00001b30| 68 65 20 45 6c 61 6e 20 | 50 72 6f 67 72 61 6d 6d |he Elan |Programm|
|00001b40| 69 6e 67 20 45 6e 76 69 | 72 6f 6e 6d 65 6e 74 20 |ing Envi|ronment |
|00001b50| 6b 6e 6f 77 73 20 61 74 | 20 61 6e 79 20 74 69 6d |knows at| any tim|
|00001b60| 65 20 61 20 63 6f 6c 6c | 65 63 74 69 6f 6e 0d 0a |e a coll|ection..|
|00001b70| 6f 66 20 6e 61 6d 65 73 | 2c 20 65 61 63 68 20 6f |of names|, each o|
|00001b80| 66 20 77 68 69 63 68 20 | 6d 61 79 20 62 65 20 7b |f which |may be {|
|00001b90| 5c 65 6d 20 75 6e 64 65 | 66 69 6e 65 64 7d 2c 20 |\em unde|fined}, |
|00001ba0| 6f 72 20 68 61 76 65 20 | 6f 6e 65 20 6f 72 20 6d |or have |one or m|
|00001bb0| 6f 72 65 0d 0a 64 65 66 | 69 6e 69 74 69 6f 6e 73 |ore..def|initions|
|00001bc0| 2e 20 55 6e 64 65 72 20 | 74 68 65 20 67 75 69 64 |. Under |the guid|
|00001bd0| 61 6e 63 65 20 61 6e 64 | 20 63 6f 6e 74 72 6f 6c |ance and| control|
|00001be0| 20 6f 66 20 74 68 65 20 | 45 6c 61 6e 20 50 72 6f | of the |Elan Pro|
|00001bf0| 67 72 61 6d 6d 69 6e 67 | 0d 0a 45 6e 76 69 72 6f |gramming|..Enviro|
|00001c00| 6e 6d 65 6e 74 20 6e 61 | 6d 65 73 20 63 61 6e 20 |nment na|mes can |
|00001c10| 62 65 20 6d 61 6e 69 70 | 75 6c 61 74 65 64 20 61 |be manip|ulated a|
|00001c20| 6e 64 20 64 65 66 69 6e | 69 74 69 6f 6e 73 20 73 |nd defin|itions s|
|00001c30| 75 70 70 6c 69 65 64 0d | 0a 74 6f 20 66 6f 72 6d |upplied.|.to form|
|00001c40| 20 61 20 70 72 6f 67 72 | 61 6d 2e 20 41 6c 6c 20 | a progr|am. All |
|00001c50| 6e 61 6d 65 73 20 77 68 | 69 63 68 20 61 72 65 20 |names wh|ich are |
|00001c60| 6b 6e 6f 77 6e 20 74 6f | 20 74 68 65 20 45 6c 61 |known to| the Ela|
|00001c70| 6e 20 50 72 6f 67 72 61 | 6d 6d 69 6e 67 0d 0a 45 |n Progra|mming..E|
|00001c80| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 61 72 65 20 73 |nvironme|nt are s|
|00001c90| 74 6f 72 65 64 20 69 6e | 20 74 68 65 20 7b 5c 65 |tored in| the {\e|
|00001ca0| 6d 20 6e 61 6d 65 20 6c | 69 73 74 7d 2e 0d 0a 0d |m name l|ist}....|
|00001cb0| 0a 41 20 6e 61 6d 65 20 | 77 69 74 68 20 77 68 69 |.A name |with whi|
|00001cc0| 63 68 20 6f 6e 65 20 6f | 72 20 6d 6f 72 65 20 64 |ch one o|r more d|
|00001cd0| 65 66 69 6e 69 74 69 6f | 6e 73 20 61 73 73 6f 63 |efinitio|ns assoc|
|00001ce0| 69 61 74 65 64 20 68 61 | 76 65 20 62 65 65 6e 0d |iated ha|ve been.|
|00001cf0| 0a 77 65 20 77 69 6c 6c | 20 63 61 6c 6c 20 61 20 |.we will| call a |
|00001d00| 7b 5c 65 6d 20 64 65 66 | 69 6e 65 64 7d 20 6e 61 |{\em def|ined} na|
|00001d10| 6d 65 2e 20 44 65 70 65 | 6e 64 69 6e 67 20 6f 6e |me. Depe|nding on|
|00001d20| 20 74 68 65 20 77 61 79 | 20 69 6e 20 77 68 69 63 | the way| in whic|
|00001d30| 68 0d 0a 74 68 65 69 72 | 20 64 65 66 69 6e 69 74 |h..their| definit|
|00001d40| 69 6f 6e 73 20 61 72 65 | 20 62 72 6f 75 67 68 74 |ions are| brought|
|00001d50| 20 69 6e 74 6f 20 74 68 | 65 20 45 6c 61 6e 20 50 | into th|e Elan P|
|00001d60| 72 6f 67 72 61 6d 6d 69 | 6e 67 20 45 6e 76 69 72 |rogrammi|ng Envir|
|00001d70| 6f 6e 6d 65 6e 74 0d 0a | 74 68 65 73 65 20 61 72 |onment..|these ar|
|00001d80| 65 20 65 69 74 68 65 72 | 20 7b 5c 65 6d 20 76 69 |e either| {\em vi|
|00001d90| 73 69 62 6c 65 7d 20 6f | 72 20 7b 5c 65 6d 20 68 |sible} o|r {\em h|
|00001da0| 69 64 64 65 6e 7d 2e 20 | 44 65 66 69 6e 69 74 69 |idden}. |Definiti|
|00001db0| 6f 6e 73 20 66 72 6f 6d | 0d 0a 70 61 63 6b 65 74 |ons from|..packet|
|00001dc0| 73 20 28 66 6f 72 20 65 | 78 61 6d 70 6c 65 20 74 |s (for e|xample t|
|00001dd0| 68 65 20 73 74 61 6e 64 | 61 72 64 20 45 6c 61 6e |he stand|ard Elan|
|00001de0| 20 4c 69 62 72 61 72 79 | 29 20 61 72 65 20 68 69 | Library|) are hi|
|00001df0| 64 64 65 6e 2c 20 74 68 | 65 0d 0a 6f 74 68 65 72 |dden, th|e..other|
|00001e00| 73 20 61 72 65 20 76 69 | 73 69 62 6c 65 2e 20 49 |s are vi|sible. I|
|00001e10| 6e 20 61 6e 20 6f 76 65 | 72 76 69 65 77 20 6f 66 |n an ove|rview of|
|00001e20| 20 6b 6e 6f 77 6e 20 6e | 61 6d 65 73 20 74 68 65 | known n|ames the|
|00001e30| 20 45 6c 61 6e 20 50 72 | 6f 67 72 61 6d 6d 69 6e | Elan Pr|ogrammin|
|00001e40| 67 0d 0a 45 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 77 |g..Envir|onment w|
|00001e50| 69 6c 6c 20 73 68 6f 77 | 20 6f 6e 6c 79 20 74 68 |ill show| only th|
|00001e60| 6f 73 65 20 6e 61 6d 65 | 73 20 77 68 69 63 68 20 |ose name|s which |
|00001e70| 68 61 76 65 20 61 73 73 | 6f 63 69 61 74 65 64 0d |have ass|ociated.|
|00001e80| 0a 61 20 76 69 73 69 62 | 6c 65 20 64 65 66 69 6e |.a visib|le defin|
|00001e90| 69 74 69 6f 6e 2e 0d 0a | 0d 0a 4e 61 6d 65 73 20 |ition...|..Names |
|00001ea0| 77 68 69 63 68 20 64 6f | 20 6e 6f 74 20 68 61 76 |which do| not hav|
|00001eb0| 65 20 61 6e 79 20 61 73 | 73 6f 63 69 61 74 65 64 |e any as|sociated|
|00001ec0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 61 72 65 20 | definit|ion are |
|00001ed0| 63 61 6c 6c 65 64 0d 0a | 7b 5c 65 6d 20 75 6e 64 |called..|{\em und|
|00001ee0| 65 66 69 6e 65 64 7d 2e | 20 4f 6e 63 65 20 61 20 |efined}.| Once a |
|00001ef0| 6e 61 6d 65 20 69 73 20 | 6d 65 6e 74 69 6f 6e 65 |name is |mentione|
|00001f00| 64 20 74 6f 20 74 68 65 | 20 45 6c 61 6e 20 50 72 |d to the| Elan Pr|
|00001f10| 6f 67 72 61 6d 6d 69 6e | 67 0d 0a 45 6e 76 69 72 |ogrammin|g..Envir|
|00001f20| 6f 6e 6d 65 6e 74 20 69 | 74 20 77 69 6c 6c 20 72 |onment i|t will r|
|00001f30| 65 6d 61 69 6e 20 69 6e | 20 74 68 65 20 6e 61 6d |emain in| the nam|
|00001f40| 65 20 6c 69 73 74 20 65 | 76 65 6e 20 77 68 65 6e |e list e|ven when|
|00001f50| 20 69 74 20 69 73 20 75 | 6e 64 65 66 69 6e 65 64 | it is u|ndefined|
|00001f60| 2e 0d 0a 49 74 20 69 73 | 20 69 6d 70 6f 72 74 61 |...It is| importa|
|00001f70| 6e 74 20 74 6f 20 6b 6e | 6f 77 20 74 68 69 73 20 |nt to kn|ow this |
|00001f80| 77 68 65 6e 20 75 73 69 | 6e 67 20 61 62 62 72 65 |when usi|ng abbre|
|00001f90| 76 69 61 74 65 64 20 6e | 61 6d 65 73 20 28 73 65 |viated n|ames (se|
|00001fa0| 65 0d 0a 6c 61 74 65 72 | 29 2e 20 0d 0a 0d 0a 53 |e..later|). ....S|
|00001fb0| 6f 6d 65 20 6e 61 6d 65 | 73 2c 20 61 73 2c 20 66 |ome name|s, as, f|
|00001fc0| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 74 68 65 20 |or examp|le, the |
|00001fd0| 6b 65 79 77 6f 72 64 73 | 20 6f 66 20 45 6c 61 6e |keywords| of Elan|
|00001fe0| 2e 20 4c 6f 6f 6b 20 6c | 69 6b 65 0d 0a 76 61 6c |. Look l|ike..val|
|00001ff0| 69 64 20 6e 61 6d 65 73 | 2c 20 62 75 74 20 6e 6f |id names|, but no|
|00002000| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 63 61 6e 20 | definit|ion can |
|00002010| 62 65 20 61 73 73 6f 63 | 69 61 74 65 64 20 77 69 |be assoc|iated wi|
|00002020| 74 68 20 74 68 65 6d 2e | 20 54 68 65 73 65 0d 0a |th them.| These..|
|00002030| 61 72 65 20 63 61 6c 6c | 65 64 20 7b 5c 65 6d 20 |are call|ed {\em |
|00002040| 75 6e 64 65 66 69 6e 61 | 62 6c 65 7d 20 2e 0d 0a |undefina|ble} ...|
|00002050| 0d 0a 5c 73 75 62 73 65 | 63 74 69 6f 6e 7b 46 6f |..\subse|ction{Fo|
|00002060| 63 75 73 20 61 6e 64 20 | 70 72 6f 6d 70 74 7d 0d |cus and |prompt}.|
|00002070| 0a 0d 0a 54 68 65 72 65 | 20 69 73 20 61 6c 77 61 |...There| is alwa|
|00002080| 79 73 20 6f 6e 65 20 6e | 61 6d 65 2c 20 63 61 6c |ys one n|ame, cal|
|00002090| 6c 65 64 20 74 68 65 20 | 66 6f 63 75 73 2c 20 77 |led the |focus, w|
|000020a0| 68 69 63 68 20 69 73 20 | 74 68 65 20 63 75 72 72 |hich is |the curr|
|000020b0| 65 6e 74 0d 0a 63 65 6e | 74 65 72 20 6f 66 20 69 |ent..cen|ter of i|
|000020c0| 6e 74 65 72 65 73 74 2e | 20 41 66 74 65 72 20 74 |nterest.| After t|
|000020d0| 68 65 20 63 6f 6d 70 6c | 65 74 69 6f 6e 20 6f 66 |he compl|etion of|
|000020e0| 20 65 61 63 68 20 63 6f | 6d 6d 61 6e 64 2c 20 74 | each co|mmand, t|
|000020f0| 68 65 0d 0a 45 6c 61 6e | 20 50 72 6f 67 72 61 6d |he..Elan| Program|
|00002100| 6d 69 6e 67 20 45 6e 76 | 69 72 6f 6e 6d 65 6e 74 |ming Env|ironment|
|00002110| 20 70 72 6f 6d 70 74 73 | 20 77 69 74 68 20 74 68 | prompts| with th|
|00002120| 65 20 66 6f 63 75 73 2c | 20 69 6e 64 69 63 61 74 |e focus,| indicat|
|00002130| 69 6e 67 0d 0a 69 74 73 | 20 72 65 61 64 69 6e 65 |ing..its| readine|
|00002140| 73 73 20 74 6f 20 61 63 | 63 65 70 74 20 66 75 72 |ss to ac|cept fur|
|00002150| 74 68 65 72 20 63 6f 6d | 6d 61 6e 64 73 2e 20 54 |ther com|mands. T|
|00002160| 68 65 20 66 6f 63 75 73 | 20 69 73 20 65 78 74 65 |he focus| is exte|
|00002170| 6e 64 65 64 0d 0a 62 79 | 20 61 20 74 79 70 65 20 |nded..by| a type |
|00002180| 69 6e 64 69 63 61 74 69 | 6f 6e 2c 20 69 6e 64 69 |indicati|on, indi|
|00002190| 63 61 74 69 6e 67 20 77 | 68 65 74 68 65 72 20 74 |cating w|hether t|
|000021a0| 68 65 72 65 20 65 78 69 | 73 74 73 20 61 20 64 65 |here exi|sts a de|
|000021b0| 66 69 6e 69 74 69 6f 6e | 0d 0a 61 73 73 6f 63 69 |finition|..associ|
|000021c0| 61 74 65 64 20 77 69 74 | 68 20 74 68 65 20 6e 61 |ated wit|h the na|
|000021d0| 6d 65 2c 20 61 6e 64 20 | 69 66 20 73 6f 2c 20 77 |me, and |if so, w|
|000021e0| 68 61 74 20 6b 69 6e 64 | 20 6f 66 20 64 65 66 69 |hat kind| of defi|
|000021f0| 6e 69 74 69 6f 6e 0d 0a | 28 72 65 66 69 6e 65 6d |nition..|(refinem|
|00002200| 65 6e 74 2c 20 7b 5c 74 | 74 20 50 52 4f 43 7d 65 |ent, {\t|t PROC}e|
|00002210| 64 75 72 65 2c 20 7b 5c | 74 74 20 4f 50 7d 65 72 |dure, {\|tt OP}er|
|00002220| 61 74 6f 72 2c 20 7b 5c | 74 74 20 4c 45 54 7d 20 |ator, {\|tt LET} |
|00002230| 6f 72 20 7b 5c 74 74 20 | 54 59 50 45 7d 29 2e 0d |or {\tt |TYPE})..|
|00002240| 0a 0d 0a 55 6e 64 65 66 | 69 6e 65 64 20 6e 61 6d |...Undef|ined nam|
|00002250| 65 73 20 61 72 65 20 72 | 65 63 6f 67 6e 69 7a 65 |es are r|ecognize|
|00002260| 64 20 62 79 20 61 20 71 | 75 65 73 74 69 6f 6e 20 |d by a q|uestion |
|00002270| 6d 61 72 6b 3a 0d 0a 0d | 0a 5c 62 65 67 69 6e 7b |mark:...|.\begin{|
|00002280| 65 6c 61 6e 7d 0d 0a 20 | 20 20 20 20 20 20 20 70 |elan}.. | p|
|00002290| 72 6f 67 72 61 6d 20 3f | 5c 63 75 72 73 6f 72 0d |rogram ?|\cursor.|
|000022a0| 0a 5c 65 6e 64 7b 65 6c | 61 6e 7d 0d 0a 0d 0a 5c |.\end{el|an}....\|
|000022b0| 6e 6f 69 6e 64 65 6e 74 | 0d 0a 6f 72 0d 0a 0d 0a |noindent|..or....|
|000022c0| 5c 62 65 67 69 6e 7b 65 | 6c 61 6e 7d 0d 0a 20 20 |\begin{e|lan}.. |
|000022d0| 20 20 20 20 20 20 52 45 | 53 4c 20 3f 5c 63 75 72 | RE|SL ?\cur|
|000022e0| 73 6f 72 0d 0a 5c 65 6e | 64 7b 65 6c 61 6e 7d 0d |sor..\en|d{elan}.|
|000022f0| 0a 0d 0a 5c 6e 6f 69 6e | 64 65 6e 74 0d 0a 52 65 |...\noin|dent..Re|
|00002300| 66 69 6e 65 6d 65 6e 74 | 20 6e 61 6d 65 73 20 68 |finement| names h|
|00002310| 61 76 65 20 61 20 63 6f | 6c 6f 6e 20 6d 61 72 6b |ave a co|lon mark|
|00002320| 3a 0d 0a 0d 0a 5c 62 65 | 67 69 6e 7b 65 6c 61 6e |:....\be|gin{elan|
|00002330| 7d 0d 0a 20 20 20 20 20 | 20 20 20 74 61 6b 65 20 |}.. | take |
|00002340| 6e 65 78 74 3a 5c 63 75 | 72 73 6f 72 0d 0a 5c 65 |next:\cu|rsor..\e|
|00002350| 6e 64 7b 65 6c 61 6e 7d | 0d 0a 0d 0a 5c 6e 6f 69 |nd{elan}|....\noi|
|00002360| 6e 64 65 6e 74 0d 0a 54 | 68 65 20 6e 61 6d 65 73 |ndent..T|he names|
|00002370| 20 6f 66 20 70 72 6f 63 | 65 64 75 72 65 73 20 61 | of proc|edures a|
|00002380| 6e 64 20 6f 70 65 72 61 | 74 6f 72 73 20 61 72 65 |nd opera|tors are|
|00002390| 20 7b 5c 65 6d 20 67 65 | 6e 65 72 69 63 7d 2c 20 | {\em ge|neric}, |
|000023a0| 69 2e 65 2e 0d 0a 63 61 | 6e 20 68 61 76 65 20 6d |i.e...ca|n have m|
|000023b0| 6f 72 65 20 74 68 61 6e | 20 6f 6e 65 20 64 65 66 |ore than| one def|
|000023c0| 69 6e 69 74 69 6f 6e 2e | 20 54 68 65 20 68 65 61 |inition.| The hea|
|000023d0| 64 69 6e 67 73 20 6f 66 | 20 61 6c 6c 20 64 65 66 |dings of| all def|
|000023e0| 69 6e 69 74 69 6f 6e 73 | 0d 0a 6f 66 20 74 68 65 |initions|..of the|
|000023f0| 20 6e 61 6d 65 20 61 72 | 65 20 73 68 6f 77 6e 2e | name ar|e shown.|
|00002400| 20 50 72 6f 63 65 64 75 | 72 65 73 20 61 6e 64 20 | Procedu|res and |
|00002410| 6f 70 65 72 61 74 6f 72 | 73 20 61 72 65 20 69 6e |operator|s are in|
|00002420| 64 69 63 61 74 65 64 0d | 0a 6c 69 6b 65 3a 20 0d |dicated.|.like: .|
|00002430| 0a 0d 0a 5c 62 65 67 69 | 6e 7b 65 6c 61 6e 7d 0d |...\begi|n{elan}.|
|00002440| 0a 20 20 20 20 20 20 20 | 20 50 52 4f 43 20 70 75 |. | PROC pu|
|00002450| 74 20 28 49 4e 54 20 61 | 29 3a 5c 63 75 72 73 6f |t (INT a|):\curso|
|00002460| 72 0d 0a 20 20 20 20 20 | 20 20 20 50 52 4f 43 20 |r.. | PROC |
|00002470| 70 75 74 20 28 52 45 41 | 4c 20 61 29 3a 0d 0a 20 |put (REA|L a):.. |
|00002480| 20 20 20 20 20 20 20 50 | 52 4f 43 20 70 75 74 20 | P|ROC put |
|00002490| 28 54 45 58 54 20 61 29 | 3a 0d 0a 5c 65 6e 64 7b |(TEXT a)|:..\end{|
|000024a0| 65 6c 61 6e 7d 0d 0a 0d | 0a 5c 6e 6f 69 6e 64 65 |elan}...|.\noinde|
|000024b0| 6e 74 0d 0a 6f 72 0d 0a | 0d 0a 5c 62 65 67 69 6e |nt..or..|..\begin|
|000024c0| 7b 65 6c 61 6e 7d 0d 0a | 20 20 20 20 20 20 20 20 |{elan}..| |
|000024d0| 54 45 58 54 20 4f 50 20 | 43 41 54 20 28 54 45 58 |TEXT OP |CAT (TEX|
|000024e0| 54 20 43 4f 4e 53 54 20 | 61 29 3a 5c 63 75 72 73 |T CONST |a):\curs|
|000024f0| 6f 72 0d 0a 5c 65 6e 64 | 7b 65 6c 61 6e 7d 0d 0a |or..\end|{elan}..|
|00002500| 0d 0a 7b 5c 74 74 20 4c | 45 54 7d 20 64 65 66 69 |..{\tt L|ET} defi|
|00002510| 6e 69 74 69 6f 6e 73 20 | 66 6f 72 20 76 61 6c 75 |nitions |for valu|
|00002520| 65 73 20 61 6e 64 20 74 | 79 70 65 73 20 68 61 76 |es and t|ypes hav|
|00002530| 65 20 61 20 6c 65 74 20 | 6d 61 72 6b 3a 0d 0a 0d |e a let |mark:...|
|00002540| 0a 5c 62 65 67 69 6e 7b | 65 6c 61 6e 7d 0d 0a 20 |.\begin{|elan}.. |
|00002550| 20 20 20 20 20 20 20 4c | 45 54 20 6e 5c 63 75 72 | L|ET n\cur|
|00002560| 73 6f 72 0d 0a 5c 65 6e | 64 7b 65 6c 61 6e 7d 0d |sor..\en|d{elan}.|
|00002570| 0a 0d 0a 5c 6e 6f 69 6e | 64 65 6e 74 0d 0a 6f 72 |...\noin|dent..or|
|00002580| 0d 0a 0d 0a 5c 62 65 67 | 69 6e 7b 65 6c 61 6e 7d |....\beg|in{elan}|
|00002590| 0d 0a 20 20 20 20 20 20 | 20 20 4c 45 54 20 56 45 |.. | LET VE|
|000025a0| 43 54 4f 52 5c 63 75 72 | 73 6f 72 0d 0a 5c 65 6e |CTOR\cur|sor..\en|
|000025b0| 64 7b 65 6c 61 6e 7d 0d | 0a 0d 0a 7b 5c 74 74 20 |d{elan}.|...{\tt |
|000025c0| 54 59 50 45 7d 20 64 65 | 66 69 6e 69 74 69 6f 6e |TYPE} de|finition|
|000025d0| 73 20 61 72 65 20 64 69 | 73 70 6c 61 79 65 64 20 |s are di|splayed |
|000025e0| 6c 69 6b 65 3a 0d 0a 0d | 0a 5c 62 65 67 69 6e 7b |like:...|.\begin{|
|000025f0| 65 6c 61 6e 7d 0d 0a 20 | 20 20 20 20 20 20 20 54 |elan}.. | T|
|00002600| 59 50 45 20 54 5c 63 75 | 72 73 6f 72 0d 0a 5c 65 |YPE T\cu|rsor..\e|
|00002610| 6e 64 7b 65 6c 61 6e 7d | 0d 0a 0d 0a 49 6e 69 74 |nd{elan}|....Init|
|00002620| 69 61 6c 6c 79 2c 20 74 | 68 65 20 66 6f 63 75 73 |ially, t|he focus|
|00002630| 20 69 73 20 74 68 65 20 | 6e 61 6d 65 20 7b 5c 74 | is the |name {\t|
|00002640| 74 20 70 72 6f 67 72 61 | 6d 7d 2c 20 62 65 69 6e |t progra|m}, bein|
|00002650| 67 20 61 73 20 79 65 74 | 0d 0a 75 6e 64 65 66 69 |g as yet|..undefi|
|00002660| 6e 65 64 2e 20 54 68 75 | 73 2c 20 74 68 65 20 69 |ned. Thu|s, the i|
|00002670| 6e 69 74 69 61 6c 20 70 | 72 6f 6d 70 74 20 6c 6f |nitial p|rompt lo|
|00002680| 6f 6b 73 20 6c 69 6b 65 | 3a 0d 0a 0d 0a 5c 62 65 |oks like|:....\be|
|00002690| 67 69 6e 7b 65 6c 61 6e | 7d 0d 0a 20 20 20 20 20 |gin{elan|}.. |
|000026a0| 20 20 20 70 72 6f 67 72 | 61 6d 20 3f 5c 63 75 72 | progr|am ?\cur|
|000026b0| 73 6f 72 20 0d 0a 5c 65 | 6e 64 7b 65 6c 61 6e 7d |sor ..\e|nd{elan}|
|000026c0| 0d 0a 0d 0a 5c 6e 6f 69 | 6e 64 65 6e 74 0d 0a 41 |....\noi|ndent..A|
|000026d0| 6e 6f 74 68 65 72 20 6e | 61 6d 65 20 63 61 6e 20 |nother n|ame can |
|000026e0| 62 65 20 63 68 6f 73 65 | 6e 20 61 73 20 66 6f 63 |be chose|n as foc|
|000026f0| 75 73 20 62 79 20 74 68 | 65 20 66 6f 63 75 73 2d |us by th|e focus-|
|00002700| 63 6f 6d 6d 61 6e 64 20 | 28 73 65 65 20 35 2e 33 |command |(see 5.3|
|00002710| 29 2e 0d 0a 0d 0a 55 70 | 6f 6e 20 66 6f 63 75 73 |).....Up|on focus|
|00002720| 73 69 6e 67 20 6f 6e 20 | 61 20 67 65 6e 65 72 69 |sing on |a generi|
|00002730| 63 20 6e 61 6d 65 20 74 | 68 65 20 63 75 72 73 6f |c name t|he curso|
|00002740| 72 20 61 70 70 65 61 72 | 73 20 61 74 20 74 68 65 |r appear|s at the|
|00002750| 20 68 65 61 64 69 6e 67 | 0d 0a 6f 66 20 74 68 65 | heading|..of the|
|00002760| 20 66 69 72 73 74 20 64 | 65 66 69 6e 69 74 69 6f | first d|efinitio|
|00002770| 6e 2e 0d 0a 42 79 20 28 | 72 65 70 65 61 74 65 64 |n...By (|repeated|
|00002780| 6c 79 29 20 67 69 76 69 | 6e 67 20 61 20 6e 65 78 |ly) givi|ng a nex|
|00002790| 74 2d 63 6f 6d 6d 61 6e | 64 20 28 7b 5c 74 74 20 |t-comman|d ({\tt |
|000027a0| 6e 7d 29 2c 20 69 74 20 | 69 73 20 70 6f 73 73 69 |n}), it |is possi|
|000027b0| 62 6c 65 20 74 6f 0d 0a | 6e 61 76 69 67 61 74 65 |ble to..|navigate|
|000027c0| 20 6f 76 65 72 20 74 68 | 65 20 76 61 72 69 6f 75 | over th|e variou|
|000027d0| 73 20 64 65 66 69 6e 69 | 74 69 6f 6e 73 20 6f 66 |s defini|tions of|
|000027e0| 20 61 20 67 65 6e 65 72 | 69 63 20 61 6c 67 6f 72 | a gener|ic algor|
|000027f0| 69 74 68 6d 73 2c 20 65 | 2e 67 2e 0d 0a 28 61 66 |ithms, e|.g...(af|
|00002800| 74 65 72 20 6f 6e 65 20 | 7b 5c 74 74 20 6e 7d 29 |ter one |{\tt n})|
|00002810| 3a 0d 0a 0d 0a 5c 62 65 | 67 69 6e 7b 65 6c 61 6e |:....\be|gin{elan|
|00002820| 7d 0d 0a 20 20 20 20 20 | 20 20 20 50 52 4f 43 20 |}.. | PROC |
|00002830| 70 75 74 20 28 49 4e 54 | 20 61 29 3a 0d 0a 20 20 |put (INT| a):.. |
|00002840| 20 20 20 20 20 20 50 52 | 4f 43 20 70 75 74 20 28 | PR|OC put (|
|00002850| 52 45 41 4c 20 61 29 3a | 5c 63 75 72 73 6f 72 0d |REAL a):|\cursor.|
|00002860| 0a 20 20 20 20 20 20 20 | 20 50 52 4f 43 20 70 75 |. | PROC pu|
|00002870| 74 20 28 54 45 58 54 20 | 61 29 3a 0d 0a 5c 65 6e |t (TEXT |a):..\en|
|00002880| 64 7b 65 6c 61 6e 7d 0d | 0a 0d 0a 5c 6e 6f 69 6e |d{elan}.|...\noin|
|00002890| 64 65 6e 74 0d 0a 49 74 | 20 69 73 20 6e 6f 77 20 |dent..It| is now |
|000028a0| 74 68 65 20 73 65 63 6f | 6e 64 20 64 65 66 69 6e |the seco|nd defin|
|000028b0| 69 74 69 6f 6e 20 77 68 | 69 63 68 20 69 73 20 74 |ition wh|ich is t|
|000028c0| 68 65 20 66 6f 63 75 73 | 20 66 6f 72 20 65 2e 67 |he focus| for e.g|
|000028d0| 2e 20 61 6e 0d 0a 65 64 | 69 74 2d 20 6f 72 20 73 |. an..ed|it- or s|
|000028e0| 68 6f 77 2d 63 6f 6d 6d | 61 6e 64 2e 0d 0a 0d 0a |how-comm|and.....|
|000028f0| 5c 73 75 62 73 65 63 74 | 69 6f 6e 7b 50 72 6f 67 |\subsect|ion{Prog|
|00002900| 72 61 6d 20 61 6e 64 20 | 72 6f 6f 74 7d 0d 0a 0d |ram and |root}...|
|00002910| 0a 54 6f 20 74 68 65 20 | 45 6c 61 6e 20 50 72 6f |.To the |Elan Pro|
|00002920| 67 72 61 6d 6d 69 6e 67 | 20 45 6e 76 69 72 6f 6e |gramming| Environ|
|00002930| 6d 65 6e 74 2c 20 61 20 | 70 72 6f 67 72 61 6d 20 |ment, a |program |
|00002940| 64 6f 65 73 20 6e 6f 74 | 20 63 6f 6e 73 69 73 74 |does not| consist|
|00002950| 0d 0a 6f 66 20 6f 6e 65 | 20 73 65 71 75 65 6e 74 |..of one| sequent|
|00002960| 69 61 6c 20 74 65 78 74 | 20 62 75 74 20 72 61 74 |ial text| but rat|
|00002970| 68 65 72 20 6f 66 20 61 | 20 6e 75 6d 62 65 72 20 |her of a| number |
|00002980| 6f 66 20 69 6e 64 65 70 | 65 6e 64 65 6e 74 0d 0a |of indep|endent..|
|00002990| 64 65 66 69 6e 69 74 69 | 6f 6e 73 2c 20 77 68 6f |definiti|ons, who|
|000029a0| 73 65 20 6f 72 64 65 72 | 20 70 6c 61 79 73 20 6e |se order| plays n|
|000029b0| 6f 20 72 6f 6c 65 2e 20 | 49 6e 20 6f 72 64 65 72 |o role. |In order|
|000029c0| 20 74 6f 20 63 6f 6e 73 | 74 72 75 63 74 0d 0a 61 | to cons|truct..a|
|000029d0| 20 70 72 6f 67 72 61 6d | 2c 20 69 74 73 20 64 65 | program|, its de|
|000029e0| 66 69 6e 69 74 69 6f 6e | 73 20 68 61 76 65 20 74 |finition|s have t|
|000029f0| 6f 20 62 65 20 69 6e 70 | 75 74 20 6f 6e 65 20 62 |o be inp|ut one b|
|00002a00| 79 20 6f 6e 65 2e 20 53 | 6f 6d 65 0d 0a 63 6f 6d |y one. S|ome..com|
|00002a10| 6d 61 6e 64 73 20 28 74 | 68 65 20 63 68 65 63 6b |mands (t|he check|
|00002a20| 2d 63 6f 6d 6d 61 6e 64 | 20 61 6e 64 20 74 68 65 |-command| and the|
|00002a30| 20 65 78 65 63 75 74 65 | 2d 63 6f 6d 6d 61 6e 64 | execute|-command|
|00002a40| 29 20 72 65 71 75 69 72 | 65 0d 0a 74 68 65 20 66 |) requir|e..the f|
|00002a50| 6f 63 75 73 20 74 6f 20 | 62 65 20 61 20 72 65 66 |ocus to |be a ref|
|00002a60| 69 6e 65 6d 65 6e 74 2c | 20 74 61 6b 65 6e 20 61 |inement,| taken a|
|00002a70| 73 20 61 20 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |s a desc|ription |
|00002a80| 6f 66 20 74 68 65 20 63 | 6f 6d 70 6f 73 69 74 69 |of the c|ompositi|
|00002a90| 6f 6e 0d 0a 6f 66 20 74 | 68 65 20 70 72 6f 67 72 |on..of t|he progr|
|00002aa0| 61 6d 2e 20 54 68 69 73 | 20 72 65 66 69 6e 65 6d |am. This| refinem|
|00002ab0| 65 6e 74 20 69 73 20 63 | 61 6c 6c 65 64 20 74 68 |ent is c|alled th|
|00002ac0| 65 20 7b 5c 65 6d 20 72 | 6f 6f 74 20 7d 6f 66 20 |e {\em r|oot }of |
|00002ad0| 74 68 65 0d 0a 70 72 6f | 67 72 61 6d 2e 20 42 79 |the..pro|gram. By|
|00002ae0| 20 64 65 66 61 75 6c 74 | 20 74 68 65 20 45 6c 61 | default| the Ela|
|00002af0| 6e 20 50 72 6f 67 72 61 | 6d 6d 69 6e 67 20 45 6e |n Progra|mming En|
|00002b00| 76 69 72 6f 6e 6d 65 6e | 74 20 61 73 73 75 6d 65 |vironmen|t assume|
|00002b10| 73 0d 0a 74 68 65 20 66 | 69 72 73 74 20 72 65 66 |s..the f|irst ref|
|00002b20| 69 6e 65 6d 65 6e 74 20 | 65 6e 74 65 72 65 64 20 |inement |entered |
|00002b30| 6f 72 20 72 65 61 64 20 | 66 72 6f 6d 20 61 20 66 |or read |from a f|
|00002b40| 69 6c 65 20 74 6f 20 62 | 65 20 74 68 65 20 6e 61 |ile to b|e the na|
|00002b50| 6d 65 0d 0a 6f 66 20 74 | 68 65 20 72 6f 6f 74 20 |me..of t|he root |
|00002b60| 6f 66 20 74 68 65 20 70 | 72 6f 67 72 61 6d 2e 0d |of the p|rogram..|
|00002b70| 0a 0d 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 7b 49 |...\subs|ection{I|
|00002b80| 6e 69 74 69 61 6c 20 73 | 74 61 74 65 7d 0d 0a 0d |nitial s|tate}...|
|00002b90| 0a 49 6e 20 74 68 65 20 | 69 6e 69 74 69 61 6c 20 |.In the |initial |
|00002ba0| 73 74 61 74 65 20 74 68 | 65 20 45 6c 61 6e 20 50 |state th|e Elan P|
|00002bb0| 72 6f 67 72 61 6d 6d 69 | 6e 67 20 45 6e 76 69 72 |rogrammi|ng Envir|
|00002bc0| 6f 6e 6d 65 6e 74 20 69 | 73 20 69 6e 0d 0a 63 6f |onment i|s in..co|
|00002bd0| 6d 6d 61 6e 64 2d 6d 6f | 6f 64 20 61 6e 64 20 69 |mmand-mo|od and i|
|00002be0| 74 73 20 6d 65 6d 6f 72 | 79 20 63 6f 6e 74 61 69 |ts memor|y contai|
|00002bf0| 6e 73 20 6f 6e 6c 79 20 | 74 68 65 20 64 65 66 69 |ns only |the defi|
|00002c00| 6e 69 74 69 6f 6e 73 20 | 6f 66 0d 0a 74 68 65 20 |nitions |of..the |
|00002c10| 73 74 61 6e 64 61 72 64 | 20 45 6c 61 6e 20 4c 69 |standard| Elan Li|
|00002c20| 62 72 61 72 79 2e 20 4f | 6e 20 74 68 65 20 73 63 |brary. O|n the sc|
|00002c30| 72 65 65 6e 20 63 61 6e | 20 62 65 20 73 65 65 6e |reen can| be seen|
|00002c40| 20 61 6e 20 69 64 65 6e | 74 69 66 69 63 61 74 69 | an iden|tificati|
|00002c50| 6f 6e 0d 0a 6f 66 20 74 | 68 65 20 45 6c 61 6e 20 |on..of t|he Elan |
|00002c60| 50 72 6f 67 72 61 6d 6d | 69 6e 67 20 45 6e 76 69 |Programm|ing Envi|
|00002c70| 72 6f 6e 6d 65 6e 74 2e | 20 54 68 65 20 69 6e 69 |ronment.| The ini|
|00002c80| 74 69 61 6c 20 70 72 6f | 6d 70 74 20 69 6e 64 69 |tial pro|mpt indi|
|00002c90| 63 61 74 65 73 0d 0a 74 | 68 61 74 20 74 68 65 20 |cates..t|hat the |
|00002ca0| 66 6f 63 75 73 20 69 73 | 20 7b 5c 74 74 20 70 72 |focus is| {\tt pr|
|00002cb0| 6f 67 72 61 6d 7d 2c 20 | 61 73 20 79 65 74 20 75 |ogram}, |as yet u|
|00002cc0| 6e 64 65 66 69 6e 65 64 | 2c 20 77 68 69 63 68 20 |ndefined|, which |
|00002cd0| 73 65 72 76 65 73 0d 0a | 61 73 20 61 20 73 75 69 |serves..|as a sui|
|00002ce0| 74 61 62 6c 65 20 72 6f | 6f 74 20 66 6f 72 20 6d |table ro|ot for m|
|00002cf0| 61 6e 79 20 70 72 6f 67 | 72 61 6d 73 2e 0d 0a 0d |any prog|rams....|
|00002d00| 0a 5c 73 65 63 74 69 6f | 6e 7b 54 68 65 20 63 6f |.\sectio|n{The co|
|00002d10| 6d 6d 61 6e 64 2d 6d 6f | 6f 64 7d 0d 0a 20 0d 0a |mmand-mo|od}.. ..|
|00002d20| 54 68 65 20 63 6f 6d 6d | 61 6e 64 2d 6d 6f 6f 64 |The comm|and-mood|
|00002d30| 20 63 61 6e 20 62 65 20 | 72 65 63 6f 67 6e 69 7a | can be |recogniz|
|00002d40| 65 64 20 62 79 20 74 68 | 65 20 6d 65 73 73 61 67 |ed by th|e messag|
|00002d50| 65 20 7b 5c 74 74 20 43 | 6f 6d 6d 61 6e 64 2c 20 |e {\tt C|ommand, |
|00002d60| 70 6c 65 61 73 65 2e 2e | 2e 7d 0d 0a 6f 6e 20 74 |please..|.}..on t|
|00002d70| 68 65 20 72 69 67 68 74 | 2d 68 61 6e 64 20 73 69 |he right|-hand si|
|00002d80| 64 65 20 6f 66 20 74 68 | 65 20 73 74 61 74 75 73 |de of th|e status|
|00002d90| 20 6c 69 6e 65 2e 20 49 | 6e 20 63 6f 6d 6d 61 6e | line. I|n comman|
|00002da0| 64 2d 6d 6f 6f 64 2c 20 | 74 68 65 0d 0a 63 6f 6d |d-mood, |the..com|
|00002db0| 6d 61 6e 64 73 20 6c 69 | 73 74 65 64 20 62 65 6c |mands li|sted bel|
|00002dc0| 6f 77 20 61 72 65 20 61 | 63 63 65 70 74 65 64 2e |ow are a|ccepted.|
|00002dd0| 20 4d 6f 73 74 20 6f 66 | 20 74 68 65 6d 20 68 61 | Most of| them ha|
|00002de0| 76 65 20 74 68 65 20 66 | 6f 63 75 73 0d 0a 61 73 |ve the f|ocus..as|
|00002df0| 20 61 6e 20 69 6d 70 6c | 69 63 69 74 20 70 61 72 | an impl|icit par|
|00002e00| 61 6d 65 74 65 72 2e 20 | 41 66 74 65 72 20 74 68 |ameter. |After th|
|00002e10| 65 20 65 78 65 63 75 74 | 69 6f 6e 20 6f 66 20 65 |e execut|ion of e|
|00002e20| 61 63 68 20 63 6f 6d 6d | 61 6e 64 0d 0a 74 68 65 |ach comm|and..the|
|00002e30| 20 45 6c 61 6e 20 50 72 | 6f 67 72 61 6d 6d 69 6e | Elan Pr|ogrammin|
|00002e40| 67 20 45 6e 76 69 72 6f | 6e 6d 65 6e 74 20 70 72 |g Enviro|nment pr|
|00002e50| 6f 6d 70 74 73 20 77 69 | 74 68 20 74 68 65 20 63 |ompts wi|th the c|
|00002e60| 75 72 72 65 6e 74 20 66 | 6f 63 75 73 0d 0a 61 6e |urrent f|ocus..an|
|00002e70| 64 20 72 65 74 75 72 6e | 73 20 74 6f 20 74 68 65 |d return|s to the|
|00002e80| 20 63 6f 6d 6d 61 6e 64 | 2d 6d 6f 6f 64 2e 0d 0a | command|-mood...|
|00002e90| 0d 0a 5c 62 65 67 69 6e | 7b 69 74 65 6d 69 7a 65 |..\begin|{itemize|
|00002ea0| 7d 0d 0a 5c 69 74 65 6d | 7b 5c 74 74 20 66 20 7d |}..\item|{\tt f }|
|00002eb0| 20 66 6f 63 75 73 2d 63 | 6f 6d 6d 61 6e 64 0d 0a | focus-c|ommand..|
|00002ec0| 0d 0a 54 68 65 20 66 6f | 63 75 73 2d 63 6f 6d 6d |..The fo|cus-comm|
|00002ed0| 61 6e 64 20 73 68 6f 77 | 73 20 7b 5c 74 74 20 46 |and show|s {\tt F|
|00002ee0| 6f 63 75 73 73 69 6e 67 | 2e 2e 2e 7d 20 6f 6e 20 |ocussing|...} on |
|00002ef0| 74 68 65 20 73 74 61 74 | 75 73 20 6c 69 6e 65 2c |the stat|us line,|
|00002f00| 20 61 6e 64 0d 0a 61 73 | 6b 73 20 66 6f 72 20 74 | and..as|ks for t|
|00002f10| 68 65 20 6e 61 6d 65 20 | 77 68 69 63 68 20 73 68 |he name |which sh|
|00002f20| 6f 75 6c 64 20 62 65 63 | 6f 6d 65 20 74 68 65 20 |ould bec|ome the |
|00002f30| 66 6f 63 75 73 20 6f 66 | 20 69 6e 74 65 72 65 73 |focus of| interes|
|00002f40| 74 2e 0d 0a 53 6f 20 74 | 68 65 20 66 6f 63 75 73 |t...So t|he focus|
|00002f50| 2d 63 6f 6d 6d 61 6e 64 | 20 63 61 6e 20 62 65 20 |-command| can be |
|00002f60| 75 73 65 64 20 74 6f 20 | 66 6f 63 75 73 20 6f 6e |used to |focus on|
|00002f70| 20 61 20 6e 65 77 20 6e | 61 6d 65 2c 20 74 68 75 | a new n|ame, thu|
|00002f80| 73 0d 0a 61 6c 6c 6f 77 | 69 6e 67 20 6e 61 76 69 |s..allow|ing navi|
|00002f90| 67 61 74 69 6f 6e 20 6f | 76 65 72 20 70 72 6f 67 |gation o|ver prog|
|00002fa0| 72 61 6d 20 70 61 72 74 | 73 2e 20 0d 0a 0d 0a 54 |ram part|s. ....T|
|00002fb0| 68 65 20 66 6f 63 75 73 | 2d 63 6f 6d 6d 61 6e 64 |he focus|-command|
|00002fc0| 20 61 6c 6c 6f 77 73 20 | 61 20 64 65 66 69 6e 65 | allows |a define|
|00002fd0| 64 20 6e 61 6d 65 20 74 | 6f 20 62 65 20 61 62 62 |d name t|o be abb|
|00002fe0| 72 65 76 69 61 74 65 64 | 20 62 79 0d 0a 72 65 70 |reviated| by..rep|
|00002ff0| 6c 61 63 69 6e 67 20 69 | 74 73 20 6c 61 73 74 20 |lacing i|ts last |
|00003000| 63 68 61 72 61 63 74 65 | 72 73 20 62 79 20 61 20 |characte|rs by a |
|00003010| 73 74 61 72 20 28 65 2e | 67 2e 20 7b 5c 74 74 20 |star (e.|g. {\tt |
|00003020| 70 72 6f 67 2a 7d 29 2e | 20 54 68 65 20 45 6c 61 |prog*}).| The Ela|
|00003030| 6e 0d 0a 50 72 6f 67 72 | 61 6d 6d 69 6e 67 20 45 |n..Progr|amming E|
|00003040| 6e 76 69 72 6f 6e 6d 65 | 6e 74 20 74 68 65 6e 20 |nvironme|nt then |
|00003050| 73 65 61 72 63 68 65 73 | 20 74 68 65 20 6e 61 6d |searches| the nam|
|00003060| 65 20 6c 69 73 74 20 66 | 6f 72 20 61 20 6d 61 74 |e list f|or a mat|
|00003070| 63 68 2c 0d 0a 61 6e 64 | 20 63 6f 6d 70 6c 61 69 |ch,..and| complai|
|00003080| 6e 73 20 7b 5c 74 74 20 | 4b 6e 6f 77 6e 20 6e 61 |ns {\tt |Known na|
|00003090| 6d 65 20 3f 7d 20 69 66 | 20 6e 6f 20 6d 61 74 63 |me ?} if| no matc|
|000030a0| 68 20 69 73 20 70 6f 73 | 73 69 62 6c 65 2e 0d 0a |h is pos|sible...|
|000030b0| 5c 69 74 65 6d 7b 5c 74 | 74 20 65 20 7d 20 65 64 |\item{\t|t e } ed|
|000030c0| 69 74 2d 63 6f 6d 6d 61 | 6e 64 0d 0a 09 0d 0a 54 |it-comma|nd.....T|
|000030d0| 68 65 20 65 64 69 74 2d | 63 6f 6d 6d 61 6e 64 20 |he edit-|command |
|000030e0| 73 65 72 76 65 73 20 74 | 6f 20 61 73 73 69 67 6e |serves t|o assign|
|000030f0| 20 61 20 6e 65 77 20 64 | 65 66 69 6e 69 74 69 6f | a new d|efinitio|
|00003100| 6e 20 74 6f 20 74 68 65 | 20 66 6f 63 75 73 2c 0d |n to the| focus,.|
|00003110| 0a 6f 72 20 74 6f 20 6d | 6f 64 69 66 79 20 74 68 |.or to m|odify th|
|00003120| 65 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 6f 66 20 |e defini|tion of |
|00003130| 74 68 65 20 66 6f 63 75 | 73 2e 20 0d 0a 0d 0a 54 |the focu|s. ....T|
|00003140| 68 65 20 6e 61 6d 65 20 | 61 6e 64 20 28 69 66 20 |he name |and (if |
|00003150| 70 72 65 73 65 6e 74 29 | 20 74 68 65 20 62 6f 64 |present)| the bod|
|00003160| 79 20 6f 66 20 74 68 65 | 20 64 65 66 69 6e 69 74 |y of the| definit|
|00003170| 69 6f 6e 20 77 68 6f 73 | 65 20 6e 61 6d 65 0d 0a |ion whos|e name..|
|00003180| 69 73 20 74 68 65 20 66 | 6f 63 75 73 20 61 72 65 |is the f|ocus are|
|00003190| 20 73 68 6f 77 6e 20 6f | 6e 20 74 68 65 20 73 63 | shown o|n the sc|
|000031a0| 72 65 65 6e 20 61 6e 64 | 20 61 6e 20 6f 70 70 6f |reen and| an oppo|
|000031b0| 72 74 75 6e 69 74 79 20 | 69 73 20 67 69 76 65 6e |rtunity |is given|
|000031c0| 0d 0a 66 6f 72 20 6c 6f | 63 61 6c 20 65 64 69 74 |..for lo|cal edit|
|000031d0| 69 6e 67 2e 20 4f 6e 20 | 74 68 65 20 73 74 61 74 |ing. On |the stat|
|000031e0| 75 73 20 6c 69 6e 65 20 | 7b 5c 74 74 20 49 6e 70 |us line |{\tt Inp|
|000031f0| 75 74 2c 20 70 6c 65 61 | 73 65 2e 2e 2e 7d 20 69 |ut, plea|se...} i|
|00003200| 73 20 64 69 73 70 6c 61 | 79 65 64 0d 0a 28 73 65 |s displa|yed..(se|
|00003210| 65 20 35 2e 34 20 66 6f | 72 20 61 20 64 65 73 63 |e 5.4 fo|r a desc|
|00003220| 72 69 70 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 65 |ription |of the e|
|00003230| 64 69 74 2d 6d 6f 6f 64 | 29 2e 0d 0a 5c 69 74 65 |dit-mood|)...\ite|
|00003240| 6d 7b 5c 74 74 20 73 20 | 7d 20 73 68 6f 77 2d 63 |m{\tt s |} show-c|
|00003250| 6f 6d 6d 61 6e 64 0d 0a | 0d 0a 54 68 65 20 64 65 |ommand..|..The de|
|00003260| 66 69 6e 69 74 69 6f 6e | 20 6f 66 20 74 68 65 20 |finition| of the |
|00003270| 66 6f 63 75 73 20 69 73 | 20 73 68 6f 77 6e 20 6f |focus is| shown o|
|00003280| 6e 20 74 68 65 20 73 63 | 72 65 65 6e 2e 20 49 6e |n the sc|reen. In|
|00003290| 20 63 61 73 65 0d 0a 74 | 68 65 20 66 6f 63 75 73 | case..t|he focus|
|000032a0| 20 69 73 20 67 65 6e 65 | 72 69 63 2c 20 74 68 65 | is gene|ric, the|
|000032b0| 20 64 65 66 69 6e 69 74 | 69 6f 6e 20 69 6e 64 69 | definit|ion indi|
|000032c0| 63 61 74 65 64 20 62 79 | 20 74 68 65 20 63 75 72 |cated by| the cur|
|000032d0| 73 6f 72 0d 0a 69 73 20 | 73 68 6f 77 6e 20 28 74 |sor..is |shown (t|
|000032e0| 68 65 20 63 75 72 73 6f | 72 20 63 61 6e 20 62 65 |he curso|r can be|
|000032f0| 20 6d 6f 76 65 64 20 74 | 6f 20 61 6e 6f 74 68 65 | moved t|o anothe|
|00003300| 72 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 6f 66 20 |r defini|tion of |
|00003310| 66 6f 63 75 73 0d 0a 62 | 79 20 74 68 65 20 6e 65 |focus..b|y the ne|
|00003320| 78 74 2d 63 6f 6d 6d 61 | 6e 64 20 7b 5c 74 74 20 |xt-comma|nd {\tt |
|00003330| 6e 7d 29 2e 20 49 6d 6d | 65 64 69 61 74 65 6c 79 |n}). Imm|ediately|
|00003340| 20 61 66 74 65 72 20 74 | 68 65 20 65 78 65 63 75 | after t|he execu|
|00003350| 74 69 6f 6e 0d 0a 6f 66 | 20 61 20 70 72 6f 67 72 |tion..of| a progr|
|00003360| 61 6d 20 69 74 20 69 73 | 20 61 6c 73 6f 20 70 6f |am it is| also po|
|00003370| 73 73 69 62 6c 65 20 74 | 6f 20 66 6f 63 75 73 20 |ssible t|o focus |
|00003380| 6f 6e 20 61 6e 20 6f 62 | 6a 65 63 74 20 63 72 65 |on an ob|ject cre|
|00003390| 61 74 65 64 0d 0a 64 75 | 72 69 6e 67 20 74 68 65 |ated..du|ring the|
|000033a0| 20 65 78 65 63 75 74 69 | 6f 6e 3b 20 69 6e 20 74 | executi|on; in t|
|000033b0| 68 61 74 20 63 61 73 65 | 20 69 74 73 20 74 79 70 |hat case| its typ|
|000033c0| 65 2c 20 61 63 63 65 73 | 73 20 61 74 74 72 69 62 |e, acces|s attrib|
|000033d0| 75 74 65 2c 0d 0a 6e 61 | 6d 65 20 61 6e 64 20 76 |ute,..na|me and v|
|000033e0| 61 6c 75 65 20 63 61 6e | 20 62 65 20 69 6e 73 70 |alue can| be insp|
|000033f0| 65 63 74 65 64 20 62 79 | 20 74 68 65 20 73 68 6f |ected by| the sho|
|00003400| 77 2d 63 6f 6d 6d 61 6e | 64 2e 0d 0a 5c 69 74 65 |w-comman|d...\ite|
|00003410| 6d 7b 5c 74 74 20 6e 20 | 7d 20 6e 65 78 74 2d 63 |m{\tt n |} next-c|
|00003420| 6f 6d 6d 61 6e 64 0d 0a | 0d 0a 54 68 65 20 6e 65 |ommand..|..The ne|
|00003430| 78 74 2d 63 6f 6d 6d 61 | 6e 64 20 73 65 72 76 65 |xt-comma|nd serve|
|00003440| 73 20 74 6f 20 6d 6f 76 | 65 20 74 68 65 20 63 75 |s to mov|e the cu|
|00003450| 72 73 6f 72 20 6f 76 65 | 72 20 74 68 65 20 76 61 |rsor ove|r the va|
|00003460| 72 69 6f 75 73 0d 0a 64 | 65 66 69 6e 69 74 69 6f |rious..d|efinitio|
|00003470| 6e 73 20 6f 66 20 61 20 | 67 65 6e 65 72 69 63 20 |ns of a |generic |
|00003480| 6e 61 6d 65 2e 20 49 74 | 20 68 61 73 20 6e 6f 20 |name. It| has no |
|00003490| 65 66 66 65 63 74 20 66 | 6f 72 20 6e 6f 6e 2d 67 |effect f|or non-g|
|000034a0| 65 6e 65 72 69 63 0d 0a | 6e 61 6d 65 73 2e 0d 0a |eneric..|names...|
|000034b0| 5c 69 74 65 6d 7b 5c 74 | 74 20 78 20 7d 20 65 78 |\item{\t|t x } ex|
|000034c0| 65 63 75 74 65 2d 63 6f | 6d 6d 61 6e 64 0d 0a 0d |ecute-co|mmand...|
|000034d0| 0a 54 68 65 20 65 78 65 | 63 75 74 65 2d 63 6f 6d |.The exe|cute-com|
|000034e0| 6d 61 6e 64 20 73 65 72 | 76 65 73 20 74 6f 20 65 |mand ser|ves to e|
|000034f0| 78 65 63 75 74 65 20 74 | 68 65 20 70 72 6f 67 72 |xecute t|he progr|
|00003500| 61 6d 20 77 68 6f 73 65 | 20 72 6f 6f 74 0d 0a 69 |am whose| root..i|
|00003510| 73 20 74 68 65 20 66 6f | 63 75 73 2e 20 49 74 20 |s the fo|cus. It |
|00003520| 73 68 6f 77 73 20 7b 5c | 74 74 20 45 78 65 63 75 |shows {\|tt Execu|
|00003530| 74 69 6e 67 2e 2e 2e 7d | 20 6f 6e 20 74 68 65 20 |ting...}| on the |
|00003540| 73 74 61 74 75 73 20 6c | 69 6e 65 2e 20 41 66 74 |status l|ine. Aft|
|00003550| 65 72 0d 0a 65 78 65 63 | 75 74 69 6f 6e 20 6f 66 |er..exec|ution of|
|00003560| 20 61 20 70 72 6f 67 72 | 61 6d 2c 20 69 74 73 20 | a progr|am, its |
|00003570| 6f 62 6a 65 63 74 73 20 | 28 76 61 72 69 61 62 6c |objects |(variabl|
|00003580| 65 73 20 61 6e 64 20 63 | 6f 6e 73 74 61 6e 74 73 |es and c|onstants|
|00003590| 29 0d 0a 63 61 6e 20 62 | 65 20 69 6e 73 70 65 63 |)..can b|e inspec|
|000035a0| 74 65 64 20 62 79 20 6d | 65 61 6e 73 20 6f 66 20 |ted by m|eans of |
|000035b0| 74 68 65 20 73 68 6f 77 | 2d 63 6f 6d 6d 61 6e 64 |the show|-command|
|000035c0| 2e 20 41 74 20 74 68 65 | 20 73 74 61 72 74 20 6f |. At the| start o|
|000035d0| 66 0d 0a 61 6e 20 65 78 | 65 63 75 74 69 6f 6e 2c |f..an ex|ecution,|
|000035e0| 20 61 6c 6c 20 6f 62 6a | 65 63 74 73 20 61 72 65 | all obj|ects are|
|000035f0| 20 6d 61 64 65 20 75 6e | 64 65 66 69 6e 65 64 2e | made un|defined.|
|00003600| 20 53 65 65 20 73 65 63 | 74 69 6f 6e 20 35 2e 35 | See sec|tion 5.5|
|00003610| 0d 0a 66 6f 72 20 61 20 | 64 65 73 63 72 69 70 74 |..for a |descript|
|00003620| 69 6f 6e 20 6f 66 20 74 | 68 65 20 65 78 65 63 75 |ion of t|he execu|
|00003630| 74 65 2d 6d 6f 6f 64 2e | 0d 0a 5c 69 74 65 6d 7b |te-mood.|..\item{|
|00003640| 5c 74 74 20 74 20 7d 20 | 74 72 61 63 65 2d 63 6f |\tt t } |trace-co|
|00003650| 6d 6d 61 6e 64 0d 0a 0d | 0a 53 61 6d 65 20 61 73 |mmand...|.Same as|
|00003660| 20 74 68 65 20 65 78 65 | 63 75 74 65 2d 63 6f 6d | the exe|cute-com|
|00003670| 6d 61 6e 64 2c 20 62 75 | 74 20 74 68 65 20 65 78 |mand, bu|t the ex|
|00003680| 65 63 75 74 69 6f 6e 20 | 74 61 6b 65 73 20 70 6c |ecution |takes pl|
|00003690| 61 63 65 20 69 6e 0d 0a | 74 72 61 63 65 2d 6d 6f |ace in..|trace-mo|
|000036a0| 6f 64 2e 20 54 68 69 73 | 20 6d 6f 6f 64 20 69 73 |od. This| mood is|
|000036b0| 20 72 65 63 6f 67 6e 69 | 7a 65 64 20 62 79 20 74 | recogni|zed by t|
|000036c0| 68 65 20 72 65 71 75 65 | 73 74 0d 0a 7b 5c 74 74 |he reque|st..{\tt|
|000036d0| 20 54 72 61 63 65 20 63 | 6f 6d 6d 61 6e 64 2c 20 | Trace c|ommand, |
|000036e0| 70 6c 65 61 73 65 2e 2e | 2e 7d 20 6f 6e 20 74 68 |please..|.} on th|
|000036f0| 65 20 73 74 61 74 75 73 | 20 6c 69 6e 65 2e 0d 0a |e status| line...|
|00003700| 53 65 65 20 73 65 63 74 | 69 6f 6e 20 35 2e 35 20 |See sect|ion 5.5 |
|00003710| 66 6f 72 20 61 20 66 75 | 72 74 68 65 72 20 64 65 |for a fu|rther de|
|00003720| 73 63 72 69 70 74 69 6f | 6e 20 6f 66 20 74 68 65 |scriptio|n of the|
|00003730| 20 74 72 61 63 65 2d 6d | 6f 6f 64 2e 0d 0a 5c 69 | trace-m|ood...\i|
|00003740| 74 65 6d 7b 5c 74 74 20 | 76 20 7d 20 76 65 72 69 |tem{\tt |v } veri|
|00003750| 66 79 2d 63 6f 6d 6d 61 | 6e 64 0d 0a 0d 0a 53 70 |fy-comma|nd....Sp|
|00003760| 65 63 69 61 6c 20 66 6f | 72 6d 20 6f 66 20 74 72 |ecial fo|rm of tr|
|00003770| 61 63 69 6e 67 20 65 78 | 65 63 75 74 65 2d 63 6f |acing ex|ecute-co|
|00003780| 6d 6d 61 6e 64 2c 20 69 | 6e 20 77 68 69 63 68 20 |mmand, i|n which |
|00003790| 74 68 65 20 74 79 70 65 | 73 0d 0a 6f 66 20 74 68 |the type|s..of th|
|000037a0| 65 20 73 79 6e 74 61 63 | 74 69 63 61 6c 20 63 6f |e syntac|tical co|
|000037b0| 6e 73 74 72 75 63 74 73 | 20 61 72 65 20 73 68 6f |nstructs| are sho|
|000037c0| 77 6e 20 72 61 74 68 65 | 72 20 74 68 61 6e 20 74 |wn rathe|r than t|
|000037d0| 68 65 69 72 20 76 61 6c | 75 65 73 2e 0d 0a 54 68 |heir val|ues...Th|
|000037e0| 69 73 20 6d 6f 64 65 20 | 69 73 20 72 65 63 6f 67 |is mode |is recog|
|000037f0| 6e 69 7a 65 64 20 62 79 | 20 74 68 65 20 72 65 71 |nized by| the req|
|00003800| 75 65 73 74 20 7b 5c 74 | 74 20 56 65 72 69 66 79 |uest {\t|t Verify|
|00003810| 20 63 6f 6d 6d 61 6e 64 | 2c 20 70 6c 65 61 73 65 | command|, please|
|00003820| 2e 2e 2e 7d 0d 0a 6f 6e | 20 74 68 65 20 73 74 61 |...}..on| the sta|
|00003830| 74 75 73 20 6c 69 6e 65 | 2e 20 53 65 65 20 73 65 |tus line|. See se|
|00003840| 63 74 69 6f 6e 20 35 2e | 35 20 66 6f 72 20 61 20 |ction 5.|5 for a |
|00003850| 66 75 72 74 68 65 72 20 | 64 65 73 63 72 69 70 74 |further |descript|
|00003860| 69 6f 6e 0d 0a 6f 66 20 | 74 68 65 20 76 65 72 69 |ion..of |the veri|
|00003870| 66 79 2d 6d 6f 6f 64 2e | 0d 0a 5c 69 74 65 6d 7b |fy-mood.|..\item{|
|00003880| 5c 74 74 20 6c 20 7d 20 | 6c 69 73 74 2d 63 6f 6d |\tt l } |list-com|
|00003890| 6d 61 6e 64 0d 0a 0d 0a | 54 68 65 20 6c 69 73 74 |mand....|The list|
|000038a0| 2d 63 6f 6d 6d 61 6e 64 | 20 73 65 72 76 65 73 20 |-command| serves |
|000038b0| 74 6f 20 67 69 76 65 20 | 61 20 6f 76 65 72 76 69 |to give |a overvi|
|000038c0| 65 77 20 6f 66 20 61 6c | 6c 20 6e 61 6d 65 73 20 |ew of al|l names |
|000038d0| 68 61 76 69 6e 67 0d 0a | 61 20 76 69 73 69 62 6c |having..|a visibl|
|000038e0| 65 20 64 65 66 69 6e 69 | 74 69 6f 6e 2e 20 54 68 |e defini|tion. Th|
|000038f0| 69 73 20 6f 76 65 72 76 | 69 65 77 20 62 65 67 69 |is overv|iew begi|
|00003900| 6e 73 20 77 69 74 68 20 | 61 20 62 6f 74 74 6f 6d |ns with |a bottom|
|00003910| 2d 75 70 0d 0a 70 61 72 | 74 20 28 61 20 6c 69 73 |-up..par|t (a lis|
|00003920| 74 20 6f 66 20 61 6c 6c | 20 6e 61 6d 65 73 20 77 |t of all| names w|
|00003930| 69 74 68 20 74 79 70 65 | 20 7b 5c 74 74 20 4c 45 |ith type| {\tt LE|
|00003940| 54 7d 2c 20 7b 5c 74 74 | 20 50 52 4f 43 7d 2c 20 |T}, {\tt| PROC}, |
|00003950| 7b 5c 74 74 20 4f 50 7d | 0d 0a 6f 72 20 7b 5c 74 |{\tt OP}|..or {\t|
|00003960| 74 20 54 59 50 45 7d 29 | 2e 0d 0a 0d 0a 41 66 74 |t TYPE})|.....Aft|
|00003970| 65 72 20 74 68 69 73 20 | 61 20 73 74 72 75 63 74 |er this |a struct|
|00003980| 75 72 65 64 20 6f 76 65 | 72 76 69 65 77 20 6f 66 |ured ove|rview of|
|00003990| 20 74 68 65 20 72 65 66 | 69 6e 65 6d 65 6e 74 73 | the ref|inements|
|000039a0| 20 6f 66 20 74 68 65 20 | 70 72 6f 67 72 61 6d 0d | of the |program.|
|000039b0| 0a 69 73 20 67 69 76 65 | 6e 2e 20 49 66 20 74 68 |.is give|n. If th|
|000039c0| 65 20 66 6f 63 75 73 20 | 69 73 20 61 20 72 65 66 |e focus |is a ref|
|000039d0| 69 6e 65 6d 65 6e 74 2c | 20 74 68 65 20 6e 61 6d |inement,| the nam|
|000039e0| 65 73 20 6f 66 20 61 6c | 6c 20 72 65 66 69 6e 65 |es of al|l refine|
|000039f0| 6d 65 6e 74 73 0d 0a 77 | 68 69 63 68 20 61 70 70 |ments..w|hich app|
|00003a00| 65 61 72 20 69 6e 20 69 | 74 73 20 62 6f 64 79 20 |ear in i|ts body |
|00003a10| 61 72 65 20 64 69 73 70 | 6c 61 79 65 64 20 77 69 |are disp|layed wi|
|00003a20| 74 68 20 61 20 73 75 69 | 74 61 62 6c 65 20 69 6e |th a sui|table in|
|00003a30| 64 65 6e 74 61 74 69 6f | 6e 0d 0a 6f 6e 20 74 68 |dentatio|n..on th|
|00003a40| 65 20 6e 65 78 74 20 6c | 69 6e 65 28 73 29 2e 20 |e next l|ine(s). |
|00003a50| 54 68 65 20 70 72 6f 63 | 65 73 73 20 69 73 20 69 |The proc|ess is i|
|00003a60| 6e 76 6f 6b 65 64 20 72 | 65 63 75 72 73 69 76 65 |nvoked r|ecursive|
|00003a70| 6c 79 20 69 66 20 61 0d | 0a 72 65 66 69 6e 65 6d |ly if a.|.refinem|
|00003a80| 65 6e 74 20 69 73 20 65 | 78 70 72 65 73 73 65 64 |ent is e|xpressed|
|00003a90| 20 69 6e 20 74 65 72 6d | 73 20 6f 66 20 6f 74 68 | in term|s of oth|
|00003aa0| 65 72 20 72 65 66 69 6e | 65 6d 65 6e 74 73 2c 20 |er refin|ements, |
|00003ab0| 77 69 74 68 0d 0a 74 68 | 65 20 65 78 63 65 70 74 |with..th|e except|
|00003ac0| 69 6f 6e 20 74 68 61 74 | 20 6e 6f 20 6e 61 6d 65 |ion that| no name|
|00003ad0| 20 61 70 70 65 61 72 73 | 20 6d 6f 72 65 20 74 68 | appears| more th|
|00003ae0| 61 6e 20 6f 6e 63 65 20 | 69 6e 20 74 68 69 73 20 |an once |in this |
|00003af0| 6f 76 65 72 76 69 65 77 | 2e 0d 0a 41 73 20 61 20 |overview|...As a |
|00003b00| 63 6f 6e 73 65 71 75 65 | 6e 63 65 20 74 68 65 20 |conseque|nce the |
|00003b10| 6f 76 65 72 76 69 65 77 | 20 67 69 76 65 73 20 61 |overview| gives a|
|00003b20| 6e 20 69 6e 64 69 63 61 | 74 69 6f 6e 20 61 62 6f |n indica|tion abo|
|00003b30| 75 74 20 74 68 65 20 73 | 74 72 75 63 74 75 72 65 |ut the s|tructure|
|00003b40| 0d 0a 6f 66 20 74 68 65 | 20 66 6f 63 75 73 2c 20 |..of the| focus, |
|00003b50| 63 6f 6e 73 69 64 65 72 | 65 64 20 61 73 20 72 6f |consider|ed as ro|
|00003b60| 6f 74 20 6f 66 20 61 20 | 70 72 6f 67 72 61 6d 2e |ot of a |program.|
|00003b70| 0d 0a 0d 0a 41 66 74 65 | 72 20 74 68 69 73 20 6f |....Afte|r this o|
|00003b80| 76 65 72 76 69 65 77 20 | 61 20 6c 69 73 74 20 69 |verview |a list i|
|00003b90| 73 20 67 69 76 65 6e 20 | 6f 66 20 61 6c 6c 20 72 |s given |of all r|
|00003ba0| 65 66 69 6e 65 6d 65 6e | 74 73 20 77 68 69 63 68 |efinemen|ts which|
|00003bb0| 0d 0a 72 65 6d 61 69 6e | 2c 20 61 6e 64 20 73 6f |..remain|, and so|
|00003bc0| 20 61 72 65 20 6e 6f 20 | 70 61 72 74 20 6f 66 20 | are no |part of |
|00003bd0| 74 68 65 20 70 72 6f 67 | 72 61 6d 20 68 61 76 69 |the prog|ram havi|
|00003be0| 6e 67 20 74 68 65 20 66 | 6f 63 75 73 20 61 73 0d |ng the f|ocus as.|
|00003bf0| 0a 72 6f 6f 74 2e 20 53 | 6f 6d 65 20 6f 66 20 74 |.root. S|ome of t|
|00003c00| 68 65 6d 20 6d 69 67 68 | 74 20 62 65 20 63 61 6e |hem migh|t be can|
|00003c10| 64 69 64 61 74 65 73 20 | 66 6f 72 20 64 65 6c 65 |didates |for dele|
|00003c20| 74 69 6f 6e 2e 0d 0a 0d | 0a 4e 61 6d 65 73 20 66 |tion....|.Names f|
|00003c30| 72 6f 6d 20 74 68 65 20 | 62 75 69 6c 74 2d 69 6e |rom the |built-in|
|00003c40| 20 6c 69 62 72 61 72 79 | 20 28 73 65 65 20 61 70 | library| (see ap|
|00003c50| 70 65 6e 64 69 78 20 41 | 29 20 61 6e 64 0d 0a 66 |pendix A|) and..f|
|00003c60| 72 6f 6d 20 61 20 70 61 | 63 6b 65 74 20 61 72 65 |rom a pa|cket are|
|00003c70| 20 6e 6f 74 20 6c 69 73 | 74 65 64 2e 0d 0a 49 74 | not lis|ted...It|
|00003c80| 20 69 73 20 68 6f 77 65 | 76 65 72 20 70 6f 73 73 | is howe|ver poss|
|00003c90| 69 62 6c 65 20 74 6f 20 | 66 6f 63 75 73 20 6f 6e |ible to |focus on|
|00003ca0| 20 61 20 6c 69 62 72 61 | 72 79 20 6e 61 6d 65 20 | a libra|ry name |
|00003cb0| 61 6e 64 20 73 68 6f 77 | 20 69 74 73 0d 0a 64 65 |and show| its..de|
|00003cc0| 66 69 6e 69 74 69 6f 6e | 2e 0d 0a 5c 69 74 65 6d |finition|...\item|
|00003cd0| 7b 5c 74 74 20 64 20 7d | 20 64 65 6c 65 74 65 2d |{\tt d }| delete-|
|00003ce0| 63 6f 6d 6d 61 6e 64 0d | 0a 0d 0a 54 68 65 20 64 |command.|...The d|
|00003cf0| 65 6c 65 74 65 2d 63 6f | 6d 6d 61 6e 64 20 64 65 |elete-co|mmand de|
|00003d00| 6c 65 74 65 73 20 74 68 | 65 20 64 65 66 69 6e 69 |letes th|e defini|
|00003d10| 74 69 6f 6e 73 20 6f 66 | 20 74 68 65 20 63 75 72 |tions of| the cur|
|00003d20| 72 65 6e 74 20 66 6f 63 | 75 73 2e 0d 0a 0d 0a 54 |rent foc|us.....T|
|00003d30| 68 65 20 45 6c 61 6e 20 | 50 72 6f 67 72 61 6d 6d |he Elan |Programm|
|00003d40| 69 6e 67 20 45 6e 76 69 | 72 6f 6e 6d 65 6e 74 20 |ing Envi|ronment |
|00003d50| 61 73 6b 73 20 66 6f 72 | 20 63 6f 6e 66 69 72 6d |asks for| confirm|
|00003d60| 61 74 69 6f 6e 20 28 74 | 6f 20 62 65 0d 0a 61 6e |ation (t|o be..an|
|00003d70| 73 77 65 72 65 64 20 77 | 69 74 68 20 7b 5c 74 74 |swered w|ith {\tt|
|00003d80| 20 79 7d 20 6f 72 20 7b | 5c 74 74 20 6e 7d 29 20 | y} or {|\tt n}) |
|00003d90| 62 65 66 6f 72 65 20 64 | 6f 69 6e 67 20 61 6e 79 |before d|oing any|
|00003da0| 74 68 69 6e 67 20 73 6f | 20 64 72 61 73 74 69 63 |thing so| drastic|
|00003db0| 2e 0d 0a 49 74 20 67 69 | 76 65 73 20 61 20 77 61 |...It gi|ves a wa|
|00003dc0| 72 6e 69 6e 67 20 62 65 | 66 6f 72 65 20 64 65 6c |rning be|fore del|
|00003dd0| 65 74 69 6e 67 20 64 65 | 66 69 6e 69 74 69 6f 6e |eting de|finition|
|00003de0| 73 20 66 72 6f 6d 20 74 | 68 65 20 73 74 61 6e 64 |s from t|he stand|
|00003df0| 61 72 64 0d 0a 6c 69 62 | 72 61 72 79 2e 0d 0a 5c |ard..lib|rary...\|
|00003e00| 69 74 65 6d 7b 5c 74 74 | 20 72 20 7d 20 72 65 61 |item{\tt| r } rea|
|00003e10| 64 2d 63 6f 6d 6d 61 6e | 64 0d 0a 0d 0a 54 68 65 |d-comman|d....The|
|00003e20| 20 72 65 61 64 2d 63 6f | 6d 6d 61 6e 64 20 73 65 | read-co|mmand se|
|00003e30| 72 76 65 73 20 74 6f 20 | 72 65 61 64 20 61 20 70 |rves to |read a p|
|00003e40| 72 6f 67 72 61 6d 2c 20 | 77 68 69 63 68 20 77 61 |rogram, |which wa|
|00003e50| 73 20 70 72 65 76 69 6f | 75 73 6c 79 0d 0a 77 72 |s previo|usly..wr|
|00003e60| 69 74 74 65 6e 20 74 6f | 20 61 20 66 69 6c 65 2c |itten to| a file,|
|00003e70| 20 62 61 63 6b 20 69 6e | 74 6f 20 6d 65 6d 6f 72 | back in|to memor|
|00003e80| 79 2e 20 49 74 20 72 65 | 70 6f 72 74 73 20 7b 5c |y. It re|ports {\|
|00003e90| 74 74 20 52 65 61 64 69 | 6e 67 2e 2e 2e 7d 20 6f |tt Readi|ng...} o|
|00003ea0| 6e 0d 0a 74 68 65 20 73 | 74 61 74 75 73 20 6c 69 |n..the s|tatus li|
|00003eb0| 6e 65 2e 20 49 74 20 61 | 64 64 73 20 74 68 65 20 |ne. It a|dds the |
|00003ec0| 64 65 66 69 6e 69 74 69 | 6f 6e 73 20 6f 66 20 74 |definiti|ons of t|
|00003ed0| 68 61 74 20 70 72 6f 67 | 72 61 6d 20 74 6f 0d 0a |hat prog|ram to..|
|00003ee0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 63 6f 6e 74 |the curr|ent cont|
|00003ef0| 65 6e 74 73 20 6f 66 20 | 74 68 65 20 6d 65 6d 6f |ents of |the memo|
|00003f00| 72 79 2c 20 6f 76 65 72 | 77 72 69 74 69 6e 67 20 |ry, over|writing |
|00003f10| 72 65 66 69 6e 65 6d 65 | 6e 74 73 20 77 69 74 68 |refineme|nts with|
|00003f20| 0d 0a 74 68 65 20 73 61 | 6d 65 20 6e 61 6d 65 2e |..the sa|me name.|
|00003f30| 20 49 74 20 6d 61 79 20 | 62 65 20 6e 65 63 65 73 | It may |be neces|
|00003f40| 73 61 72 79 20 74 6f 20 | 66 69 72 73 74 20 73 61 |sary to |first sa|
|00003f50| 76 65 20 74 68 65 20 63 | 75 72 72 65 6e 74 0d 0a |ve the c|urrent..|
|00003f60| 70 72 6f 67 72 61 6d 20 | 62 79 20 77 72 69 74 69 |program |by writi|
|00003f70| 6e 67 20 69 74 20 74 6f | 20 61 20 66 69 6c 65 20 |ng it to| a file |
|00003f80| 28 7b 5c 74 74 20 77 7d | 29 2c 20 6f 72 20 74 6f |({\tt w}|), or to|
|00003f90| 20 66 69 72 73 74 20 63 | 6c 65 61 72 0d 0a 74 68 | first c|lear..th|
|00003fa0| 65 20 6d 65 6d 6f 72 79 | 20 28 7b 5c 74 74 20 63 |e memory| ({\tt c|
|00003fb0| 7d 29 2e 20 54 68 65 20 | 72 65 61 64 2d 63 6f 6d |}). The |read-com|
|00003fc0| 6d 61 6e 64 20 61 73 6b | 73 20 66 6f 72 20 74 68 |mand ask|s for th|
|00003fd0| 65 20 6e 61 6d 65 20 6f | 66 20 61 0d 0a 66 69 6c |e name o|f a..fil|
|00003fe0| 65 2e 20 49 66 20 61 20 | 66 69 6c 65 20 77 69 74 |e. If a |file wit|
|00003ff0| 68 20 74 68 61 74 20 6e | 61 6d 65 20 69 73 20 70 |h that n|ame is p|
|00004000| 72 65 73 65 6e 74 2c 20 | 74 68 65 20 70 72 6f 67 |resent, |the prog|
|00004010| 72 61 6d 20 69 74 20 63 | 6f 6e 74 61 69 6e 73 0d |ram it c|ontains.|
|00004020| 0a 69 73 20 72 65 61 64 | 2e 20 41 66 74 65 72 20 |.is read|. After |
|00004030| 72 65 61 64 69 6e 67 2c | 20 7b 5c 74 74 20 70 72 |reading,| {\tt pr|
|00004040| 6f 67 72 61 6d 20 7d 77 | 69 6c 6c 20 62 65 20 74 |ogram }w|ill be t|
|00004050| 68 65 20 6e 65 77 20 66 | 6f 63 75 73 2e 0d 0a 44 |he new f|ocus...D|
|00004060| 75 72 69 6e 67 20 74 68 | 65 20 72 65 61 64 69 6e |uring th|e readin|
|00004070| 67 20 6f 66 20 74 68 65 | 20 70 72 6f 67 72 61 6d |g of the| program|
|00004080| 2c 20 74 68 65 20 6e 61 | 6d 65 73 20 6f 66 20 74 |, the na|mes of t|
|00004090| 68 65 20 64 65 66 69 6e | 69 74 69 6f 6e 73 0d 0a |he defin|itions..|
|000040a0| 61 72 65 20 6c 69 73 74 | 65 64 20 6f 6e 20 74 68 |are list|ed on th|
|000040b0| 65 20 64 69 73 70 6c 61 | 79 2e 20 46 69 6e 61 6c |e displa|y. Final|
|000040c0| 6c 79 20 61 20 73 74 72 | 75 63 74 75 72 65 64 20 |ly a str|uctured |
|000040d0| 6f 76 65 72 76 69 65 77 | 20 69 73 0d 0a 67 69 76 |overview| is..giv|
|000040e0| 65 6e 20 6f 66 20 61 6c | 6c 20 64 65 66 69 6e 69 |en of al|l defini|
|000040f0| 74 69 6f 6e 73 2e 20 0d | 0a 0d 0a 49 66 20 61 20 |tions. .|...If a |
|00004100| 66 69 6c 65 20 77 69 74 | 68 20 74 68 65 20 64 65 |file wit|h the de|
|00004110| 73 69 72 65 64 20 6e 61 | 6d 65 20 77 61 73 20 6e |sired na|me was n|
|00004120| 6f 74 20 70 72 65 73 65 | 6e 74 20 74 68 65 20 45 |ot prese|nt the E|
|00004130| 6c 61 6e 20 50 72 6f 67 | 72 61 6d 6d 69 6e 67 0d |lan Prog|ramming.|
|00004140| 0a 45 6e 76 69 72 6f 6e | 6d 65 6e 74 20 70 72 6f |.Environ|ment pro|
|00004150| 64 75 63 65 73 20 61 6e | 20 6f 76 65 72 76 69 65 |duces an| overvie|
|00004160| 77 20 6f 66 20 61 6c 6c | 20 70 72 6f 67 72 61 6d |w of all| program|
|00004170| 20 66 69 6c 65 73 20 74 | 68 61 74 20 61 72 65 0d | files t|hat are.|
|00004180| 0a 70 72 65 73 65 6e 74 | 20 28 61 67 61 69 6e 20 |.present| (again |
|00004190| 61 20 6e 65 67 61 74 69 | 76 65 20 6d 65 6e 75 29 |a negati|ve menu)|
|000041a0| 2e 20 0d 0a 20 0d 0a 54 | 68 65 20 63 6f 6e 76 65 |. .. ..T|he conve|
|000041b0| 6e 74 69 6f 6e 73 20 66 | 6f 72 20 66 69 6c 65 20 |ntions f|or file |
|000041c0| 6e 61 6d 65 73 20 61 72 | 65 20 74 68 6f 73 65 20 |names ar|e those |
|000041d0| 6f 66 20 74 68 65 20 6f | 70 65 72 61 74 69 6e 67 |of the o|perating|
|000041e0| 20 73 79 73 74 65 6d 0d | 0a 72 75 6e 6e 69 6e 67 | system.|.running|
|000041f0| 20 74 68 65 20 45 6c 61 | 6e 20 50 72 6f 67 72 61 | the Ela|n Progra|
|00004200| 6d 6d 69 6e 67 20 45 6e | 76 69 72 6f 6e 6d 65 6e |mming En|vironmen|
|00004210| 74 2e 0d 0a 5c 69 74 65 | 6d 7b 5c 74 74 20 70 20 |t...\ite|m{\tt p |
|00004220| 7d 20 70 61 63 6b 65 74 | 2d 63 6f 6d 6d 61 6e 64 |} packet|-command|
|00004230| 0d 0a 0d 0a 54 68 65 20 | 70 61 63 6b 65 74 2d 63 |....The |packet-c|
|00004240| 6f 6d 6d 61 6e 64 20 61 | 6c 73 6f 20 73 65 72 76 |ommand a|lso serv|
|00004250| 65 73 20 74 6f 20 72 65 | 61 64 20 61 20 70 72 6f |es to re|ad a pro|
|00004260| 67 72 61 6d 20 69 6e 74 | 6f 20 6d 65 6d 6f 72 79 |gram int|o memory|
|00004270| 2e 0d 0a 49 74 20 72 65 | 70 6f 72 74 73 20 7b 5c |...It re|ports {\|
|00004280| 74 74 20 52 65 61 64 69 | 6e 67 2e 2e 2e 7d 20 6f |tt Readi|ng...} o|
|00004290| 6e 20 74 68 65 20 73 74 | 61 74 75 73 20 6c 69 6e |n the st|atus lin|
|000042a0| 65 2e 20 49 74 20 69 73 | 20 61 20 76 61 72 69 61 |e. It is| a varia|
|000042b0| 6e 74 0d 0a 6f 66 20 74 | 68 65 20 72 65 61 64 2d |nt..of t|he read-|
|000042c0| 63 6f 6d 6d 61 6e 64 2c | 20 77 69 74 68 20 74 68 |command,| with th|
|000042d0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 64 69 66 66 |e follow|ing diff|
|000042e0| 65 72 65 6e 63 65 73 3a | 0d 0a 0d 0a 5c 62 65 67 |erences:|....\beg|
|000042f0| 69 6e 7b 69 74 65 6d 69 | 7a 65 7d 0d 0a 5c 69 74 |in{itemi|ze}..\it|
|00004300| 65 6d 20 09 44 65 66 69 | 6e 69 74 69 6f 6e 73 20 |em .Defi|nitions |
|00004310| 72 65 61 64 20 62 79 20 | 74 68 65 20 70 61 63 6b |read by |the pack|
|00004320| 65 74 2d 63 6f 6d 6d 61 | 6e 64 20 61 72 65 20 68 |et-comma|nd are h|
|00004330| 69 64 64 65 6e 3a 20 74 | 68 65 79 0d 0a 09 61 72 |idden: t|hey...ar|
|00004340| 65 20 6e 6f 74 20 6d 65 | 6e 74 69 6f 6e 65 64 20 |e not me|ntioned |
|00004350| 62 79 20 74 68 65 20 6c | 69 73 74 2d 63 6f 6d 6d |by the l|ist-comm|
|00004360| 61 6e 64 2e 20 54 68 65 | 79 20 63 61 6e 20 62 65 |and. The|y can be|
|00004370| 20 69 6e 73 70 65 63 74 | 65 64 0d 0a 09 62 79 20 | inspect|ed...by |
|00004380| 74 68 65 20 73 68 6f 77 | 2d 63 6f 6d 6d 61 6e 64 |the show|-command|
|00004390| 2e 20 48 6f 77 65 76 65 | 72 2c 20 74 68 65 79 20 |. Howeve|r, they |
|000043a0| 63 61 6e 20 6e 6f 74 20 | 62 65 20 6d 6f 64 69 66 |can not |be modif|
|000043b0| 69 65 64 20 62 79 20 61 | 6e 0d 0a 09 65 64 69 74 |ied by a|n...edit|
|000043c0| 2d 63 6f 6d 6d 61 6e 64 | 2c 20 77 69 74 68 20 74 |-command|, with t|
|000043d0| 68 65 20 65 78 63 65 70 | 74 69 6f 6e 20 6f 66 20 |he excep|tion of |
|000043e0| 28 67 65 6e 65 72 69 63 | 29 20 70 72 6f 63 65 64 |(generic|) proced|
|000043f0| 75 72 65 73 20 61 6e 64 | 20 6f 70 65 72 61 74 6f |ures and| operato|
|00004400| 72 73 2e 0d 0a 5c 69 74 | 65 6d 09 49 6e 20 77 72 |rs...\it|em.In wr|
|00004410| 69 74 69 6e 67 20 61 20 | 70 72 6f 67 72 61 6d 20 |iting a |program |
|00004420| 63 6f 6e 73 69 73 74 69 | 6e 67 20 77 68 6f 6c 6c |consisti|ng wholl|
|00004430| 79 20 6f 72 20 70 61 72 | 74 6c 79 20 6f 66 20 68 |y or par|tly of h|
|00004440| 69 64 64 65 6e 0d 0a 09 | 64 65 66 69 6e 69 74 69 |idden...|definiti|
|00004450| 6f 6e 73 2c 20 6f 6e 6c | 79 20 74 68 65 20 76 69 |ons, onl|y the vi|
|00004460| 73 69 62 6c 65 20 64 65 | 66 69 6e 69 74 69 6f 6e |sible de|finition|
|00004470| 73 20 61 72 65 20 77 72 | 69 74 74 65 6e 2e 0d 0a |s are wr|itten...|
|00004480| 5c 65 6e 64 7b 69 74 65 | 6d 69 7a 65 7d 0d 0a 5c |\end{ite|mize}..\|
|00004490| 69 74 65 6d 7b 5c 74 74 | 20 77 20 7d 20 77 72 69 |item{\tt| w } wri|
|000044a0| 74 65 2d 63 6f 6d 6d 61 | 6e 64 0d 0a 0d 0a 54 68 |te-comma|nd....Th|
|000044b0| 65 20 77 72 69 74 65 2d | 63 6f 6d 6d 61 6e 64 20 |e write-|command |
|000044c0| 73 65 72 76 65 73 20 74 | 6f 20 77 72 69 74 65 20 |serves t|o write |
|000044d0| 61 6c 6c 20 76 69 73 69 | 62 6c 65 20 64 65 66 69 |all visi|ble defi|
|000044e0| 6e 69 74 69 6f 6e 73 20 | 66 72 6f 6d 0d 0a 6d 65 |nitions |from..me|
|000044f0| 6d 6f 72 79 20 77 69 74 | 68 20 74 68 65 20 72 6f |mory wit|h the ro|
|00004500| 6f 74 20 61 73 20 74 68 | 65 20 66 69 72 73 74 20 |ot as th|e first |
|00004510| 72 65 66 69 6e 65 6d 65 | 6e 74 20 6f 6e 74 6f 20 |refineme|nt onto |
|00004520| 61 20 66 69 6c 65 2e 20 | 49 74 0d 0a 72 65 70 6f |a file. |It..repo|
|00004530| 72 74 73 20 7b 5c 74 74 | 20 57 72 69 74 69 6e 67 |rts {\tt| Writing|
|00004540| 2e 2e 2e 7d 20 6f 6e 20 | 74 68 65 20 73 74 61 74 |...} on |the stat|
|00004550| 75 73 20 6c 69 6e 65 2e | 20 49 74 20 61 73 6b 73 |us line.| It asks|
|00004560| 20 74 68 65 20 75 73 65 | 72 20 66 6f 72 20 61 0d | the use|r for a.|
|00004570| 0a 66 69 6c 65 20 6e 61 | 6d 65 2e 20 41 6e 79 20 |.file na|me. Any |
|00004580| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 20 6f 66 |existing| file of|
|00004590| 20 74 68 61 74 20 6e 61 | 6d 65 20 69 73 20 6f 76 | that na|me is ov|
|000045a0| 65 72 77 72 69 74 74 65 | 6e 2e 20 48 69 64 64 65 |erwritte|n. Hidde|
|000045b0| 6e 0d 0a 64 65 66 69 6e | 69 74 69 6f 6e 73 20 28 |n..defin|itions (|
|000045c0| 73 65 65 20 74 68 65 20 | 70 61 63 6b 65 74 2d 63 |see the |packet-c|
|000045d0| 6f 6d 6d 61 6e 64 29 20 | 61 72 65 20 6e 6f 74 20 |ommand) |are not |
|000045e0| 77 72 69 74 74 65 6e 2e | 0d 0a 0d 0a 54 68 65 20 |written.|....The |
|000045f0| 63 6f 6e 76 65 6e 74 69 | 6f 6e 73 20 66 6f 72 20 |conventi|ons for |
|00004600| 66 69 6c 65 20 6e 61 6d | 65 73 20 61 72 65 20 74 |file nam|es are t|
|00004610| 68 6f 73 65 20 6f 66 20 | 74 68 65 20 6f 70 65 72 |hose of |the oper|
|00004620| 61 74 69 6e 67 20 73 79 | 73 74 65 6d 0d 0a 72 75 |ating sy|stem..ru|
|00004630| 6e 6e 69 6e 67 20 74 68 | 65 20 45 6c 61 6e 20 50 |nning th|e Elan P|
|00004640| 72 6f 67 72 61 6d 6d 69 | 6e 67 20 45 6e 76 69 72 |rogrammi|ng Envir|
|00004650| 6f 6e 6d 65 6e 74 2e 0d | 0a 5c 69 74 65 6d 7b 5c |onment..|.\item{\|
|00004660| 74 74 20 63 20 7d 20 63 | 6c 65 61 72 2d 63 6f 6d |tt c } c|lear-com|
|00004670| 6d 61 6e 64 0d 0a 0d 0a | 54 68 65 20 63 6c 65 61 |mand....|The clea|
|00004680| 72 2d 63 6f 6d 6d 61 6e | 64 2c 20 75 70 6f 6e 20 |r-comman|d, upon |
|00004690| 63 6f 6e 66 69 72 6d 61 | 74 69 6f 6e 2c 20 63 6c |confirma|tion, cl|
|000046a0| 65 61 72 73 20 74 68 65 | 20 6d 65 6d 6f 72 79 2c |ears the| memory,|
|000046b0| 20 62 72 69 6e 67 69 6e | 67 0d 0a 74 68 65 20 45 | bringin|g..the E|
|000046c0| 6c 61 6e 20 50 72 6f 67 | 72 61 6d 6d 69 6e 67 20 |lan Prog|ramming |
|000046d0| 45 6e 76 69 72 6f 6e 6d | 65 6e 74 20 62 61 63 6b |Environm|ent back|
|000046e0| 20 69 6e 74 6f 20 69 74 | 73 20 69 6e 69 74 69 61 | into it|s initia|
|000046f0| 6c 20 73 74 61 74 65 2e | 0d 0a 49 74 20 72 65 70 |l state.|..It rep|
|00004700| 6f 72 74 73 20 20 7b 5c | 74 74 20 43 6c 65 61 72 |orts {\|tt Clear|
|00004710| 69 6e 67 2e 2e 2e 7d 20 | 6f 6e 20 74 68 65 20 73 |ing...} |on the s|
|00004720| 74 61 74 75 73 20 6c 69 | 6e 65 2e 0d 0a 5c 69 74 |tatus li|ne...\it|
|00004730| 65 6d 7b 5c 74 74 20 71 | 20 7d 20 71 75 69 74 2d |em{\tt q| } quit-|
|00004740| 63 6f 6d 6d 61 6e 64 0d | 0a 0d 0a 54 68 65 20 71 |command.|...The q|
|00004750| 75 69 74 2d 63 6f 6d 6d | 61 6e 64 2c 20 75 70 6f |uit-comm|and, upo|
|00004760| 6e 20 63 6f 6e 66 69 72 | 6d 61 74 69 6f 6e 2c 20 |n confir|mation, |
|00004770| 68 61 6c 74 73 20 74 68 | 65 20 45 6c 61 6e 20 50 |halts th|e Elan P|
|00004780| 72 6f 67 72 61 6d 6d 69 | 6e 67 0d 0a 45 6e 76 69 |rogrammi|ng..Envi|
|00004790| 72 6f 6e 6d 65 6e 74 20 | 61 6e 64 20 72 65 74 75 |ronment |and retu|
|000047a0| 72 6e 73 20 63 6f 6e 74 | 72 6f 6c 20 74 6f 20 74 |rns cont|rol to t|
|000047b0| 68 65 20 6f 70 65 72 61 | 74 69 6e 67 20 73 79 73 |he opera|ting sys|
|000047c0| 74 65 6d 20 6f 66 20 74 | 68 65 0d 0a 63 6f 6d 70 |tem of t|he..comp|
|000047d0| 75 74 65 72 2e 0d 0a 5c | 65 6e 64 7b 69 74 65 6d |uter...\|end{item|
|000047e0| 69 7a 65 7d 0d 0a 0d 0a | 5c 73 65 63 74 69 6f 6e |ize}....|\section|
|000047f0| 7b 52 65 61 64 69 6e 67 | 20 61 6e 64 20 65 64 69 |{Reading| and edi|
|00004800| 74 69 6e 67 20 6f 66 20 | 70 72 6f 67 72 61 6d 73 |ting of |programs|
|00004810| 7d 0d 0a 0d 0a 57 68 69 | 6c 65 20 72 65 61 64 69 |}....Whi|le readi|
|00004820| 6e 67 20 6f 72 20 65 64 | 69 74 69 6e 67 20 61 20 |ng or ed|iting a |
|00004830| 70 72 6f 67 72 61 6d 2c | 20 74 68 65 20 45 6c 61 |program,| the Ela|
|00004840| 6e 20 50 72 6f 67 72 61 | 6d 6d 69 6e 67 20 45 6e |n Progra|mming En|
|00004850| 76 69 72 6f 6e 6d 65 6e | 74 0d 0a 61 63 63 65 70 |vironmen|t..accep|
|00004860| 74 73 20 74 65 78 74 20 | 66 72 6f 6d 20 61 20 66 |ts text |from a f|
|00004870| 69 6c 65 20 6f 72 20 66 | 72 6f 6d 20 74 68 65 20 |ile or f|rom the |
|00004880| 6b 65 79 62 6f 61 72 64 | 2c 20 6f 6e 65 20 64 65 |keyboard|, one de|
|00004890| 66 69 6e 69 74 69 6f 6e | 0d 0a 61 74 20 61 20 74 |finition|..at a t|
|000048a0| 69 6d 65 2c 20 61 6e 64 | 20 74 72 61 6e 73 6c 61 |ime, and| transla|
|000048b0| 74 65 73 20 69 74 20 74 | 6f 20 69 6e 74 65 72 6e |tes it t|o intern|
|000048c0| 61 6c 20 66 6f 72 6d 2c | 20 70 65 72 66 6f 72 6d |al form,| perform|
|000048d0| 69 6e 67 20 61 20 72 75 | 6e 6e 69 6e 67 0d 0a 43 |ing a ru|nning..C|
|000048e0| 6f 6e 74 65 78 74 2d 46 | 72 65 65 20 73 79 6e 74 |ontext-F|ree synt|
|000048f0| 61 78 20 63 68 65 63 6b | 20 61 73 20 74 68 65 20 |ax check| as the |
|00004900| 6c 69 6e 65 73 20 63 6f | 6d 65 20 69 6e 2e 0d 0a |lines co|me in...|
|00004910| 0d 0a 55 70 6f 6e 20 66 | 69 6e 64 69 6e 67 20 61 |..Upon f|inding a|
|00004920| 20 73 79 6e 74 61 63 74 | 69 63 20 65 72 72 6f 72 | syntact|ic error|
|00004930| 2c 20 74 68 65 20 74 72 | 61 6e 73 6c 61 74 6f 72 |, the tr|anslator|
|00004940| 20 61 74 74 65 6d 70 74 | 73 20 74 6f 20 61 72 72 | attempt|s to arr|
|00004950| 69 76 65 0d 0a 61 74 20 | 61 20 73 79 6e 74 61 63 |ive..at |a syntac|
|00004960| 74 69 63 61 6c 6c 79 20 | 63 6f 72 72 65 63 74 20 |tically |correct |
|00004970| 70 72 6f 67 72 61 6d 20 | 69 6e 20 69 6e 74 65 72 |program |in inter|
|00004980| 61 63 74 69 6f 6e 20 77 | 69 74 68 20 74 68 65 20 |action w|ith the |
|00004990| 75 73 65 72 2c 0d 0a 6f | 66 66 65 72 69 6e 67 20 |user,..o|ffering |
|000049a0| 74 68 65 20 69 6e 63 6f | 72 72 65 63 74 20 64 65 |the inco|rrect de|
|000049b0| 66 69 6e 69 74 69 6f 6e | 20 66 6f 72 20 6c 6f 63 |finition| for loc|
|000049c0| 61 6c 20 65 64 69 74 69 | 6e 67 20 61 73 20 6f 66 |al editi|ng as of|
|000049d0| 74 65 6e 0d 0a 61 73 20 | 6e 65 63 65 73 73 61 72 |ten..as |necessar|
|000049e0| 79 2e 20 42 79 20 68 69 | 74 74 69 6e 67 20 7b 5c |y. By hi|tting {\|
|000049f0| 74 74 20 3c 42 52 45 41 | 4b 3e 7d 20 74 68 65 20 |tt <BREA|K>} the |
|00004a00| 75 73 65 72 20 6d 61 79 | 20 65 6e 64 20 74 68 69 |user may| end thi|
|00004a10| 73 20 61 74 74 65 6d 70 | 74 2e 0d 0a 0d 0a 54 68 |s attemp|t.....Th|
|00004a20| 65 20 65 64 69 74 69 6e | 67 20 6f 66 20 65 78 69 |e editin|g of exi|
|00004a30| 73 74 69 6e 67 20 70 61 | 72 74 73 20 6f 66 20 61 |sting pa|rts of a|
|00004a40| 20 70 72 6f 67 72 61 6d | 20 69 73 20 62 61 73 65 | program| is base|
|00004a50| 64 20 6f 6e 20 72 65 70 | 6c 61 79 3a 0d 0a 73 6f |d on rep|lay:..so|
|00004a60| 6d 65 20 64 65 66 69 6e | 69 74 69 6f 6e 20 69 73 |me defin|ition is|
|00004a70| 20 64 69 73 70 6c 61 79 | 65 64 20 6f 6e 20 74 68 | display|ed on th|
|00004a80| 65 20 73 63 72 65 65 6e | 2c 20 61 6e 64 20 63 61 |e screen|, and ca|
|00004a90| 6e 20 62 65 20 6d 6f 64 | 69 66 69 65 64 0d 0a 61 |n be mod|ified..a|
|00004aa0| 74 20 77 69 6c 6c 20 62 | 79 20 74 68 65 20 75 73 |t will b|y the us|
|00004ab0| 65 72 2c 20 61 66 74 65 | 72 20 77 68 69 63 68 20 |er, afte|r which |
|00004ac0| 74 68 65 20 74 72 61 6e | 73 6c 61 74 6f 72 20 72 |the tran|slator r|
|00004ad0| 65 61 64 73 20 74 68 65 | 20 74 65 78 74 0d 0a 6f |eads the| text..o|
|00004ae0| 6e 20 74 68 65 20 73 63 | 72 65 65 6e 20 61 73 20 |n the sc|reen as |
|00004af0| 69 6e 70 75 74 2e 20 54 | 68 65 20 6e 65 77 20 64 |input. T|he new d|
|00004b00| 65 66 69 6e 69 74 69 6f | 6e 20 6d 61 79 20 6f 76 |efinitio|n may ov|
|00004b10| 65 72 77 72 69 74 65 20 | 74 68 65 0d 0a 6f 6c 64 |erwrite |the..old|
|00004b20| 20 6f 6e 65 2e 0d 0a 0d | 0a 5c 73 75 62 73 65 63 | one....|.\subsec|
|00004b30| 74 69 6f 6e 7b 4c 6f 63 | 61 6c 20 65 64 69 74 69 |tion{Loc|al editi|
|00004b40| 6e 67 7d 0d 0a 0d 0a 4c | 6f 63 61 6c 20 65 64 69 |ng}....L|ocal edi|
|00004b50| 74 69 6e 67 20 69 73 20 | 70 65 72 66 6f 72 6d 65 |ting is |performe|
|00004b60| 64 20 69 6e 20 65 64 69 | 74 2d 6d 6f 6f 64 2c 20 |d in edi|t-mood, |
|00004b70| 77 68 69 63 68 20 69 73 | 20 72 65 63 6f 67 6e 69 |which is| recogni|
|00004b80| 7a 65 64 0d 0a 62 79 20 | 7b 5c 74 74 20 49 6e 70 |zed..by |{\tt Inp|
|00004b90| 75 74 2c 20 70 6c 65 61 | 73 65 2e 2e 2e 7d 20 6f |ut, plea|se...} o|
|00004ba0| 6e 20 74 68 65 20 73 74 | 61 74 75 73 20 6c 69 6e |n the st|atus lin|
|00004bb0| 65 2e 0d 0a 4c 6f 63 61 | 6c 20 65 64 69 74 69 6e |e...Loca|l editin|
|00004bc0| 67 20 61 6c 6c 6f 77 73 | 20 74 68 65 20 75 73 65 |g allows| the use|
|00004bd0| 72 20 74 6f 20 65 6e 74 | 65 72 20 61 6e 64 20 6d |r to ent|er and m|
|00004be0| 6f 64 69 66 79 20 61 20 | 74 65 78 74 20 66 69 65 |odify a |text fie|
|00004bf0| 6c 64 0d 0a 28 77 68 69 | 63 68 20 6d 61 79 20 77 |ld..(whi|ch may w|
|00004c00| 65 6c 6c 20 62 65 20 6c | 6f 6e 67 65 72 20 74 68 |ell be l|onger th|
|00004c10| 61 6e 20 61 20 6c 69 6e | 65 20 6f 6e 20 74 68 65 |an a lin|e on the|
|00004c20| 20 73 63 72 65 65 6e 29 | 2e 20 4c 6f 63 61 6c 20 | screen)|. Local |
|00004c30| 65 64 69 74 69 6e 67 0d | 0a 69 73 20 65 6e 64 65 |editing.|.is ende|
|00004c40| 64 20 62 79 20 68 69 74 | 74 69 6e 67 20 7b 5c 74 |d by hit|ting {\t|
|00004c50| 74 20 3c 52 45 54 3e 7d | 20 28 6f 72 20 61 62 6f |t <RET>}| (or abo|
|00004c60| 72 74 65 64 20 62 79 20 | 68 69 74 74 69 6e 67 20 |rted by |hitting |
|00004c70| 7b 5c 74 74 20 3c 42 52 | 45 41 4b 3e 7d 29 2e 20 |{\tt <BR|EAK>}). |
|00004c80| 55 70 0d 0a 74 6f 20 74 | 68 69 73 20 65 76 65 6e |Up..to t|his even|
|00004c90| 74 2c 20 74 68 65 20 74 | 65 78 74 20 66 69 65 6c |t, the t|ext fiel|
|00004ca0| 64 20 63 61 6e 20 62 65 | 20 6d 6f 64 69 66 69 65 |d can be| modifie|
|00004cb0| 64 20 62 79 20 6d 6f 64 | 69 66 79 69 6e 67 20 69 |d by mod|ifying i|
|00004cc0| 74 73 0d 0a 69 6d 61 67 | 65 20 6f 6e 20 74 68 65 |ts..imag|e on the|
|00004cd0| 20 73 63 72 65 65 6e 2e | 0d 0a 0d 0a 44 75 72 69 | screen.|....Duri|
|00004ce0| 6e 67 20 6c 6f 63 61 6c | 20 65 64 69 74 69 6e 67 |ng local| editing|
|00004cf0| 2c 20 74 68 65 20 63 75 | 72 73 6f 72 20 63 61 6e |, the cu|rsor can|
|00004d00| 20 62 65 20 6d 6f 76 65 | 64 20 66 72 65 65 6c 79 | be move|d freely|
|00004d10| 20 6f 76 65 72 20 74 68 | 65 0d 0a 73 63 72 65 65 | over th|e..scree|
|00004d20| 6e 20 77 69 74 68 69 6e | 20 73 70 65 63 69 66 69 |n within| specifi|
|00004d30| 63 20 62 6f 75 6e 64 61 | 72 69 65 73 2e 20 41 73 |c bounda|ries. As|
|00004d40| 73 75 6d 65 20 7a 65 72 | 6f 20 6f 72 20 6d 6f 72 |sume zer|o or mor|
|00004d50| 65 20 6c 69 6e 65 73 0d | 0a 68 61 76 65 20 62 65 |e lines.|.have be|
|00004d60| 65 6e 20 65 6e 74 65 72 | 65 64 20 61 6e 64 20 74 |en enter|ed and t|
|00004d70| 68 65 20 63 75 72 73 6f | 72 20 69 73 20 73 6f 6d |he curso|r is som|
|00004d80| 65 77 68 65 72 65 20 77 | 69 74 68 69 6e 20 74 68 |ewhere w|ithin th|
|00004d90| 69 73 20 66 69 65 6c 64 | 2e 0d 0a 0d 0a 5c 62 65 |is field|.....\be|
|00004da0| 67 69 6e 7b 69 74 65 6d | 69 7a 65 7d 0d 0a 5c 69 |gin{item|ize}..\i|
|00004db0| 74 65 6d 09 42 79 20 6d | 65 61 6e 73 20 6f 66 20 |tem.By m|eans of |
|00004dc0| 7b 5c 74 74 20 3c 52 45 | 54 3e 7d 20 74 68 65 20 |{\tt <RE|T>} the |
|00004dd0| 75 73 65 72 20 69 6e 64 | 69 63 61 74 65 73 20 74 |user ind|icates t|
|00004de0| 68 61 74 20 74 68 69 73 | 20 6c 69 6e 65 20 6f 66 |hat this| line of|
|00004df0| 0d 0a 09 69 6e 70 75 74 | 20 69 73 20 63 6f 6d 70 |...input| is comp|
|00004e00| 6c 65 74 65 64 3b 20 74 | 68 65 20 74 72 61 6e 73 |leted; t|he trans|
|00004e10| 6c 61 74 6f 72 20 6e 6f | 77 20 73 74 61 72 74 73 |lator no|w starts|
|00004e20| 20 70 72 6f 63 65 73 73 | 69 6e 67 20 69 74 2e 0d | process|ing it..|
|00004e30| 0a 09 41 66 74 65 72 20 | 70 72 6f 63 65 73 73 69 |..After |processi|
|00004e40| 6e 67 20 61 20 63 6f 6d | 70 6c 65 74 65 20 64 65 |ng a com|plete de|
|00004e50| 66 69 6e 69 74 69 6f 6e | 20 74 68 65 20 74 72 61 |finition| the tra|
|00004e60| 6e 73 6c 61 74 6f 72 20 | 72 65 74 75 72 6e 73 0d |nslator |returns.|
|00004e70| 0a 09 74 6f 20 63 6f 6d | 6d 61 6e 64 2d 6d 6f 6f |..to com|mand-moo|
|00004e80| 64 2c 20 6f 74 68 65 72 | 77 69 73 65 20 69 74 20 |d, other|wise it |
|00004e90| 72 65 63 75 72 73 69 76 | 65 6c 79 20 61 73 6b 73 |recursiv|ely asks|
|00004ea0| 20 74 68 65 20 65 64 69 | 74 6f 72 20 66 6f 72 0d | the edi|tor for.|
|00004eb0| 0a 09 61 20 6e 65 78 74 | 20 6c 69 6e 65 20 6f 66 |..a next| line of|
|00004ec0| 20 69 6e 70 75 74 2e 0d | 0a 5c 69 74 65 6d 09 57 | input..|.\item.W|
|00004ed0| 69 74 68 20 74 68 65 20 | 7b 5c 74 74 20 3c 42 52 |ith the |{\tt <BR|
|00004ee0| 45 41 4b 3e 7d 20 6b 65 | 79 20 74 68 65 20 74 65 |EAK>} ke|y the te|
|00004ef0| 78 74 20 6d 6f 64 69 66 | 69 63 61 74 69 6f 6e 20 |xt modif|ication |
|00004f00| 6f 72 20 65 6e 74 65 72 | 69 6e 67 0d 0a 09 63 61 |or enter|ing...ca|
|00004f10| 6e 20 62 65 20 61 62 6f | 72 74 65 64 20 69 6e 20 |n be abo|rted in |
|00004f20| 73 75 63 68 20 61 20 77 | 61 79 20 74 68 61 74 20 |such a w|ay that |
|00004f30| 69 74 20 68 61 73 20 6e | 6f 20 65 66 66 65 63 74 |it has n|o effect|
|00004f40| 2e 0d 0a 5c 69 74 65 6d | 09 54 68 65 20 7b 5c 74 |...\item|.The {\t|
|00004f50| 74 20 3c 44 45 4c 3e 7d | 20 6b 65 79 20 64 65 6c |t <DEL>}| key del|
|00004f60| 65 74 65 73 20 74 68 65 | 20 63 68 61 72 61 63 74 |etes the| charact|
|00004f70| 65 72 20 75 6e 64 65 72 | 20 74 68 65 20 63 75 72 |er under| the cur|
|00004f80| 73 6f 72 2c 20 69 66 20 | 61 6e 79 2e 0d 0a 5c 69 |sor, if |any...\i|
|00004f90| 74 65 6d 09 54 68 65 20 | 7b 5c 74 74 20 3c 44 45 |tem.The |{\tt <DE|
|00004fa0| 4c 20 4c 45 46 54 3e 7d | 20 6b 65 79 20 64 65 6c |L LEFT>}| key del|
|00004fb0| 65 74 65 73 20 74 68 65 | 20 63 68 61 72 61 63 74 |etes the| charact|
|00004fc0| 65 72 20 74 6f 20 74 68 | 65 20 6c 65 66 74 20 6f |er to th|e left o|
|00004fd0| 66 0d 0a 09 74 68 65 20 | 63 75 72 73 6f 72 2c 20 |f...the |cursor, |
|00004fe0| 69 66 20 61 6e 79 2e 0d | 0a 5c 69 74 65 6d 09 54 |if any..|.\item.T|
|00004ff0| 68 65 20 61 72 72 6f 77 | 20 6b 65 79 73 20 61 6c |he arrow| keys al|
|00005000| 6c 6f 77 20 74 68 65 20 | 6d 6f 76 65 6d 65 6e 74 |low the |movement|
|00005010| 20 6f 66 20 74 68 65 20 | 63 75 72 73 6f 72 20 6f | of the |cursor o|
|00005020| 76 65 72 20 74 68 65 0d | 0a 09 74 65 78 74 20 66 |ver the.|..text f|
|00005030| 69 65 6c 64 20 28 62 75 | 74 20 6e 6f 74 20 6f 75 |ield (bu|t not ou|
|00005040| 74 73 69 64 65 20 69 74 | 29 2e 0d 0a 5c 69 74 65 |tside it|)...\ite|
|00005050| 6d 09 41 6e 79 20 6b 65 | 79 20 77 68 69 63 68 20 |m.Any ke|y which |
|00005060| 69 73 20 6e 6f 74 20 61 | 20 63 6f 6e 74 72 6f 6c |is not a| control|
|00005070| 20 6b 65 79 20 69 6e 73 | 65 72 74 73 20 74 68 65 | key ins|erts the|
|00005080| 20 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 0d 0a | corresp|onding..|
|00005090| 09 63 68 61 72 61 63 74 | 65 72 20 61 74 20 74 68 |.charact|er at th|
|000050a0| 65 20 70 6f 73 69 74 69 | 6f 6e 20 6f 66 20 74 68 |e positi|on of th|
|000050b0| 65 20 63 75 72 73 6f 72 | 2c 20 61 6e 64 20 6d 6f |e cursor|, and mo|
|000050c0| 76 65 73 20 74 68 65 20 | 63 75 72 73 6f 72 20 72 |ves the |cursor r|
|000050d0| 69 67 68 74 2e 0d 0a 5c | 65 6e 64 7b 69 74 65 6d |ight...\|end{item|
|000050e0| 69 7a 65 7d 0d 0a 0d 0a | 5c 73 75 62 73 65 63 74 |ize}....|\subsect|
|000050f0| 69 6f 6e 7b 49 6e 63 72 | 65 6d 65 6e 74 61 6c 20 |ion{Incr|emental |
|00005100| 63 6f 72 72 65 63 74 69 | 6f 6e 7d 0d 0a 0d 0a 49 |correcti|on}....I|
|00005110| 66 20 74 68 65 20 74 72 | 61 6e 73 6c 61 74 6f 72 |f the tr|anslator|
|00005120| 20 69 73 20 6f 66 20 74 | 68 65 20 6f 70 69 6e 69 | is of t|he opini|
|00005130| 6f 6e 20 74 68 61 74 20 | 61 20 73 70 65 63 69 66 |on that |a specif|
|00005140| 69 63 20 73 79 6d 62 6f | 6c 20 77 61 73 0d 0a 6f |ic symbo|l was..o|
|00005150| 6d 69 74 74 65 64 20 6f | 72 20 69 66 20 69 74 20 |mitted o|r if it |
|00005160| 65 78 70 65 63 74 73 20 | 61 20 73 70 65 63 69 66 |expects |a specif|
|00005170| 69 63 20 73 79 6e 74 61 | 63 74 69 63 20 63 6f 6e |ic synta|ctic con|
|00005180| 73 74 72 75 63 74 69 6f | 6e 20 28 69 64 65 6e 74 |structio|n (ident|
|00005190| 69 66 69 65 72 3b 0d 0a | 61 74 74 72 69 62 75 74 |ifier;..|attribut|
|000051a0| 65 20 7b 5c 74 74 20 56 | 41 52 20 7d 6f 72 20 7b |e {\tt V|AR }or {|
|000051b0| 5c 74 74 20 43 4f 4e 53 | 54 7d 3b 20 75 6e 69 74 |\tt CONS|T}; unit|
|000051c0| 20 6f 72 20 64 65 63 6c | 61 72 61 74 69 6f 6e 20 | or decl|aration |
|000051d0| 2e 2e 2e 29 0d 0a 69 74 | 20 67 69 76 65 73 20 61 |...)..it| gives a|
|000051e0| 6e 20 65 72 72 6f 72 20 | 6d 65 73 73 61 67 65 20 |n error |message |
|000051f0| 74 6f 20 74 68 61 74 20 | 65 66 66 65 63 74 20 69 |to that |effect i|
|00005200| 6e 20 74 68 65 20 6c 6f | 77 65 72 20 6c 65 66 74 |n the lo|wer left|
|00005210| 20 63 6f 72 6e 65 72 0d | 0a 6f 66 20 74 68 65 20 | corner.|.of the |
|00005220| 73 63 72 65 65 6e 20 61 | 6e 64 20 6f 66 66 65 72 |screen a|nd offer|
|00005230| 73 20 74 68 65 20 64 69 | 72 65 63 74 6c 79 20 73 |s the di|rectly s|
|00005240| 75 72 72 6f 75 6e 64 69 | 6e 67 20 64 65 66 69 6e |urroundi|ng defin|
|00005250| 69 74 69 6f 6e 0d 0a 66 | 6f 72 20 6c 6f 63 61 6c |ition..f|or local|
|00005260| 20 65 64 69 74 69 6e 67 | 2e 20 54 68 65 20 63 75 | editing|. The cu|
|00005270| 72 73 6f 72 20 69 73 20 | 70 6f 73 69 74 69 6f 6e |rsor is |position|
|00005280| 65 64 20 61 74 20 74 68 | 65 20 70 6c 61 63 65 20 |ed at th|e place |
|00005290| 6f 66 20 74 68 65 0d 0a | 73 75 70 70 6f 73 65 64 |of the..|supposed|
|000052a0| 20 65 72 72 6f 72 2e 0d | 0a 41 73 20 61 6e 20 65 | error..|.As an e|
|000052b0| 78 61 6d 70 6c 65 2c 20 | 73 75 70 70 6f 73 65 20 |xample, |suppose |
|000052c0| 74 68 65 20 75 73 65 72 | 20 74 79 70 65 73 20 61 |the user| types a|
|000052d0| 73 20 61 20 75 6e 69 74 | 0d 0a 0d 0a 5c 62 65 67 |s a unit|....\beg|
|000052e0| 69 6e 7b 65 6c 61 6e 7d | 0d 0a 20 20 20 20 20 20 |in{elan}|.. |
|000052f0| 20 20 52 4f 57 20 49 4e | 54 20 56 4f 52 20 61 0d | ROW IN|T VOR a.|
|00005300| 0a 5c 65 6e 64 7b 65 6c | 61 6e 7d 0d 0a 0d 0a 5c |.\end{el|an}....\|
|00005310| 6e 6f 69 6e 64 65 6e 74 | 0d 0a 54 68 65 20 74 72 |noindent|..The tr|
|00005320| 61 6e 73 6c 61 74 6f 72 | 20 63 6f 6d 70 6c 61 69 |anslator| complai|
|00005330| 6e 73 20 7b 5c 74 74 20 | 4e 75 6d 62 65 72 20 6f |ns {\tt |Number o|
|00005340| 66 20 65 6c 65 6d 65 6e | 74 73 20 3f 7d 20 61 6e |f elemen|ts ?} an|
|00005350| 64 20 6f 66 66 65 72 73 | 0d 0a 0d 0a 5c 62 65 67 |d offers|....\beg|
|00005360| 69 6e 7b 65 6c 61 6e 7d | 0d 0a 20 20 20 20 20 20 |in{elan}|.. |
|00005370| 20 20 52 4f 57 20 5c 63 | 75 72 73 6f 72 20 49 4e | ROW \c|ursor IN|
|00005380| 54 20 56 4f 52 20 61 0d | 0a 5c 65 6e 64 7b 65 6c |T VOR a.|.\end{el|
|00005390| 61 6e 7d 0d 0a 0d 0a 5c | 6e 6f 69 6e 64 65 6e 74 |an}....\|noindent|
|000053a0| 0d 0a 54 68 65 20 75 73 | 65 72 20 64 75 74 69 66 |..The us|er dutif|
|000053b0| 75 6c 6c 79 20 69 6e 73 | 65 72 74 73 20 7b 5c 74 |ully ins|erts {\t|
|000053c0| 74 20 31 30 7d 20 61 6e | 64 20 68 69 74 73 20 74 |t 10} an|d hits t|
|000053d0| 68 65 20 72 65 74 75 72 | 6e 20 6b 65 79 2e 0d 0a |he retur|n key...|
|000053e0| 54 68 65 20 74 72 61 6e | 73 6c 61 74 6f 72 20 6e |The tran|slator n|
|000053f0| 6f 77 20 63 6f 6d 70 6c | 61 69 6e 73 20 7b 5c 74 |ow compl|ains {\t|
|00005400| 74 20 56 41 52 2f 43 4f | 4e 53 54 20 3f 7d 20 61 |t VAR/CO|NST ?} a|
|00005410| 6e 64 20 6f 66 66 65 72 | 73 0d 0a 0d 0a 5c 62 65 |nd offer|s....\be|
|00005420| 67 69 6e 7b 65 6c 61 6e | 7d 0d 0a 20 20 20 20 20 |gin{elan|}.. |
|00005430| 20 20 20 52 4f 57 20 31 | 30 20 49 4e 54 20 5c 63 | ROW 1|0 INT \c|
|00005440| 75 72 73 6f 72 20 56 4f | 52 20 61 0d 0a 5c 65 6e |ursor VO|R a..\en|
|00005450| 64 7b 65 6c 61 6e 7d 0d | 0a 0d 0a 5c 6e 6f 69 6e |d{elan}.|...\noin|
|00005460| 64 65 6e 74 0d 0a 54 68 | 65 20 75 73 65 72 20 63 |dent..Th|e user c|
|00005470| 68 61 6e 67 65 73 20 7b | 5c 74 74 20 56 4f 52 20 |hanges {|\tt VOR |
|00005480| 7d 69 6e 74 6f 20 7b 5c | 74 74 20 56 41 52 7d 20 |}into {\|tt VAR} |
|00005490| 61 6e 64 20 68 69 74 73 | 20 74 68 65 20 72 65 74 |and hits| the ret|
|000054a0| 75 72 6e 0d 0a 6b 65 79 | 20 7b 5c 74 74 20 3c 52 |urn..key| {\tt <R|
|000054b0| 45 54 3e 7d 2c 20 77 68 | 65 72 65 75 70 6f 6e 20 |ET>}, wh|ereupon |
|000054c0| 74 68 65 20 74 72 61 6e | 73 6c 61 74 6f 72 20 61 |the tran|slator a|
|000054d0| 63 63 65 70 74 73 20 74 | 68 65 20 72 65 73 74 20 |ccepts t|he rest |
|000054e0| 6f 66 20 74 68 65 20 6c | 69 6e 65 0d 0a 69 6e 20 |of the l|ine..in |
|000054f0| 73 69 6c 65 6e 63 65 20 | 61 6e 64 20 77 61 69 74 |silence |and wait|
|00005500| 73 20 66 6f 72 20 74 68 | 65 20 6e 65 78 74 20 6c |s for th|e next l|
|00005510| 69 6e 65 2e 0d 0a 54 68 | 69 73 20 73 61 6d 65 20 |ine...Th|is same |
|00005520| 69 6e 63 72 65 6d 65 6e | 74 61 6c 20 63 6f 72 72 |incremen|tal corr|
|00005530| 65 63 74 69 6f 6e 20 66 | 61 63 69 6c 69 74 79 20 |ection f|acility |
|00005540| 69 73 20 61 76 61 69 6c | 61 62 6c 65 20 66 6f 72 |is avail|able for|
|00005550| 20 63 6f 72 72 65 63 74 | 69 6e 67 0d 0a 69 6e 70 | correct|ing..inp|
|00005560| 75 74 20 64 75 72 69 6e | 67 20 72 65 61 64 69 6e |ut durin|g readin|
|00005570| 67 20 66 72 6f 6d 20 61 | 20 66 69 6c 65 2e 0d 0a |g from a| file...|
|00005580| 0d 0a 41 73 20 74 68 65 | 20 45 6c 61 6e 20 50 72 |..As the| Elan Pr|
|00005590| 6f 67 72 61 6d 6d 69 6e | 67 20 45 6e 76 69 72 6f |ogrammin|g Enviro|
|000055a0| 6e 6d 65 6e 74 73 20 64 | 6f 65 73 20 6e 6f 74 20 |nments d|oes not |
|000055b0| 69 6d 70 6f 73 65 20 72 | 65 73 74 72 69 63 74 69 |impose r|estricti|
|000055c0| 6f 6e 73 0d 0a 6f 6e 20 | 74 68 65 20 6f 72 64 65 |ons..on |the orde|
|000055d0| 72 20 6f 66 20 74 68 65 | 20 64 65 66 69 6e 69 74 |r of the| definit|
|000055e0| 69 6f 6e 73 20 61 6e 64 | 20 74 68 65 20 75 73 65 |ions and| the use|
|000055f0| 72 20 6d 69 67 68 74 20 | 69 6e 74 72 6f 64 75 63 |r might |introduc|
|00005600| 65 0d 0a 61 6c 6c 20 6b | 69 6e 64 73 20 6f 66 20 |e..all k|inds of |
|00005610| 77 65 69 72 64 20 6f 70 | 65 72 61 74 6f 72 73 2c |weird op|erators,|
|00005620| 20 6c 69 6b 65 20 7b 5c | 74 74 20 54 48 41 4e 7d | like {\|tt THAN}|
|00005630| 2c 20 73 69 74 75 61 74 | 69 6f 6e 73 20 63 61 6e |, situat|ions can|
|00005640| 0d 0a 6f 63 63 75 72 20 | 69 6e 20 77 68 69 63 68 |..occur |in which|
|00005650| 20 74 68 65 20 65 72 72 | 6f 72 20 73 69 67 6e 61 | the err|or signa|
|00005660| 6c 6c 69 6e 67 20 69 73 | 20 6e 6f 74 20 73 6f 20 |lling is| not so |
|00005670| 68 65 6c 70 66 75 6c 2e | 20 46 6f 72 20 65 78 61 |helpful.| For exa|
|00005680| 6d 70 6c 65 2c 0d 0a 69 | 66 20 74 68 65 20 75 73 |mple,..i|f the us|
|00005690| 65 72 20 74 79 70 65 73 | 0d 0a 0d 0a 5c 62 65 67 |er types|....\beg|
|000056a0| 69 6e 7b 65 6c 61 6e 7d | 0d 0a 20 20 20 20 20 20 |in{elan}|.. |
|000056b0| 20 20 49 46 20 61 3e 3d | 30 20 54 48 41 4e 20 61 | IF a>=|0 THAN a|
|000056c0| 20 45 4c 53 45 20 2d 61 | 20 46 49 0d 0a 5c 65 6e | ELSE -a| FI..\en|
|000056d0| 64 7b 65 6c 61 6e 7d 0d | 0a 0d 0a 5c 6e 6f 69 6e |d{elan}.|...\noin|
|000056e0| 64 65 6e 74 0d 0a 74 68 | 65 20 45 6c 61 6e 20 50 |dent..th|e Elan P|
|000056f0| 72 6f 67 72 61 6d 6d 69 | 6e 67 20 45 6e 76 69 72 |rogrammi|ng Envir|
|00005700| 6f 6e 6d 65 6e 74 20 77 | 69 6c 6c 20 6e 6f 77 20 |onment w|ill now |
|00005710| 63 6f 6d 70 6c 61 69 6e | 20 7b 5c 74 74 20 54 48 |complain| {\tt TH|
|00005720| 45 4e 20 3f 7d 20 61 6e | 64 0d 0a 6f 66 66 65 72 |EN ?} an|d..offer|
|00005730| 0d 0a 0d 0a 5c 62 65 67 | 69 6e 7b 65 6c 61 6e 7d |....\beg|in{elan}|
|00005740| 0d 0a 20 20 20 20 20 20 | 20 20 49 46 20 61 3e 3d |.. | IF a>=|
|00005750| 30 20 54 48 41 4e 20 61 | 20 5c 63 75 72 73 6f 72 |0 THAN a| \cursor|
|00005760| 20 45 4c 53 45 20 2d 61 | 20 46 49 0d 0a 5c 65 6e | ELSE -a| FI..\en|
|00005770| 64 7b 65 6c 61 6e 7d 0d | 0a 0d 0a 5c 6e 6f 69 6e |d{elan}.|...\noin|
|00005780| 64 65 6e 74 0d 0a 61 70 | 70 61 72 65 6e 74 6c 79 |dent..ap|parently|
|00005790| 20 63 6f 6e 73 69 64 65 | 72 69 6e 67 20 7b 5c 74 | conside|ring {\t|
|000057a0| 74 20 54 48 41 4e 20 7d | 74 6f 20 62 65 20 6d 65 |t THAN }|to be me|
|000057b0| 61 6e 74 20 61 73 20 61 | 6e 20 6f 70 65 72 61 74 |ant as a|n operat|
|000057c0| 6f 72 0d 0a 61 6e 64 20 | 73 6f 20 69 6e 74 65 72 |or..and |so inter|
|000057d0| 70 72 65 74 69 6e 67 20 | 74 68 69 73 20 63 6f 6e |preting |this con|
|000057e0| 73 74 72 75 63 74 69 6f | 6e 20 61 73 0d 0a 0d 0a |structio|n as....|
|000057f0| 5c 62 65 67 69 6e 7b 65 | 6c 61 6e 7d 0d 0a 20 20 |\begin{e|lan}.. |
|00005800| 20 20 20 20 20 20 49 46 | 20 61 20 3e 3d 20 28 30 | IF| a >= (0|
|00005810| 20 54 48 41 4e 20 61 29 | 20 45 4c 53 45 20 2d 61 | THAN a)| ELSE -a|
|00005820| 20 46 49 0d 0a 5c 65 6e | 64 7b 65 6c 61 6e 7d 0d | FI..\en|d{elan}.|
|00005830| 0a 0d 0a 54 68 65 20 65 | 72 72 6f 72 20 72 65 70 |...The e|rror rep|
|00005840| 6f 72 74 65 64 20 6f 6e | 20 74 68 65 20 62 6f 74 |orted on| the bot|
|00005850| 74 6f 6d 20 6c 69 6e 65 | 20 6f 66 20 74 68 65 20 |tom line| of the |
|00005860| 73 63 72 65 65 6e 20 73 | 68 6f 75 6c 64 20 62 65 |screen s|hould be|
|00005870| 0d 0a 73 65 65 6e 20 61 | 73 20 6a 75 73 74 20 61 |..seen a|s just a|
|00005880| 20 73 75 67 67 65 73 74 | 69 6f 6e 21 20 49 74 20 | suggest|ion! It |
|00005890| 69 73 20 74 68 65 20 62 | 65 73 74 20 74 68 65 20 |is the b|est the |
|000058a0| 70 72 6f 67 72 61 6d 6d | 69 6e 67 20 65 6e 76 69 |programm|ing envi|
|000058b0| 72 6f 6e 6d 65 6e 74 0d | 0a 63 61 6e 20 64 6f 2c |ronment.|.can do,|
|000058c0| 20 62 75 74 20 69 74 20 | 69 73 20 75 70 20 74 6f | but it |is up to|
|000058d0| 20 74 68 65 20 75 73 65 | 72 20 74 6f 20 64 65 63 | the use|r to dec|
|000058e0| 69 64 65 20 77 68 61 74 | 20 69 74 20 77 61 73 20 |ide what| it was |
|000058f0| 68 65 20 77 61 6e 74 65 | 64 0d 0a 74 6f 20 65 78 |he wante|d..to ex|
|00005900| 70 72 65 73 73 20 61 6e | 64 20 68 6f 77 20 74 6f |press an|d how to|
|00005910| 20 72 65 70 61 69 72 20 | 74 68 65 20 65 72 72 6f | repair |the erro|
|00005920| 72 2e 0d 0a 0d 0a 5c 73 | 75 62 73 65 63 74 69 6f |r.....\s|ubsectio|
|00005930| 6e 7b 42 72 65 61 6b 7d | 0d 0a 0d 0a 49 66 20 74 |n{Break}|....If t|
|00005940| 68 65 20 75 73 65 72 20 | 68 69 74 73 20 7b 5c 74 |he user |hits {\t|
|00005950| 74 20 3c 42 52 45 41 4b | 3e 7d 20 64 75 72 69 6e |t <BREAK|>} durin|
|00005960| 67 20 69 6e 70 75 74 2c | 20 74 68 65 20 65 64 69 |g input,| the edi|
|00005970| 74 2d 6d 6f 6f 64 20 69 | 73 20 61 62 6f 72 74 65 |t-mood i|s aborte|
|00005980| 64 0d 0a 61 6e 64 20 74 | 68 65 20 45 6c 61 6e 20 |d..and t|he Elan |
|00005990| 50 72 6f 67 72 61 6d 6d | 69 6e 67 20 45 6e 76 69 |Programm|ing Envi|
|000059a0| 72 6f 6e 6d 65 6e 74 20 | 72 65 76 65 72 74 73 20 |ronment |reverts |
|000059b0| 74 6f 20 63 6f 6d 6d 61 | 6e 64 2d 6d 6f 6f 64 2e |to comma|nd-mood.|
|000059c0| 0d 0a 54 68 69 73 20 66 | 61 63 69 6c 69 74 79 20 |..This f|acility |
|000059d0| 69 73 20 68 65 6c 70 66 | 75 6c 20 69 6e 20 6f 72 |is helpf|ul in or|
|000059e0| 64 65 72 20 74 6f 20 72 | 65 63 6f 76 65 72 20 66 |der to r|ecover f|
|000059f0| 72 6f 6d 20 61 20 74 6f | 74 61 6c 20 74 61 6e 67 |rom a to|tal tang|
|00005a00| 6c 65 0d 0a 6f 66 20 65 | 72 72 6f 72 73 20 64 75 |le..of e|rrors du|
|00005a10| 72 69 6e 67 20 69 6e 70 | 75 74 20 66 72 6f 6d 20 |ring inp|ut from |
|00005a20| 61 20 66 69 6c 65 20 28 | 72 65 61 64 2d 63 6f 6d |a file (|read-com|
|00005a30| 6d 61 6e 64 29 2e 0d 0a | 0d 0a 5c 73 65 63 74 69 |mand)...|..\secti|
|00005a40| 6f 6e 7b 54 68 65 20 65 | 78 65 63 75 74 65 2d 20 |on{The e|xecute- |
|00005a50| 61 6e 64 20 72 65 6c 61 | 74 65 64 20 6d 6f 6f 64 |and rela|ted mood|
|00005a60| 73 7d 0d 0a 20 0d 0a 54 | 68 65 20 65 78 65 63 75 |s}.. ..T|he execu|
|00005a70| 74 6f 72 20 66 69 72 73 | 74 20 63 61 6c 6c 73 20 |tor firs|t calls |
|00005a80| 74 68 65 20 63 68 65 63 | 6b 65 72 20 61 6e 64 2c |the chec|ker and,|
|00005a90| 20 69 66 20 6e 6f 20 65 | 72 72 6f 72 73 20 77 65 | if no e|rrors we|
|00005aa0| 72 65 0d 0a 66 6f 75 6e | 64 2c 20 73 74 61 72 74 |re..foun|d, start|
|00005ab0| 73 20 65 78 65 63 75 74 | 69 6e 67 20 74 68 65 20 |s execut|ing the |
|00005ac0| 70 72 6f 67 72 61 6d 2e | 20 49 66 20 61 6e 20 65 |program.| If an e|
|00005ad0| 72 72 6f 72 20 6f 63 63 | 75 72 73 2c 20 61 20 62 |rror occ|urs, a b|
|00005ae0| 61 63 6b 2d 74 72 61 63 | 65 0d 0a 69 73 20 67 69 |ack-trac|e..is gi|
|00005af0| 76 65 6e 20 28 73 65 65 | 20 35 2e 35 2e 32 29 2e |ven (see| 5.5.2).|
|00005b00| 0d 0a 20 0d 0a 45 78 65 | 63 75 74 69 6f 6e 20 63 |.. ..Exe|cution c|
|00005b10| 61 6e 20 62 65 20 74 65 | 72 6d 69 6e 61 74 65 64 |an be te|rminated|
|00005b20| 20 62 79 20 67 69 76 69 | 6e 67 20 61 20 7b 5c 74 | by givi|ng a {\t|
|00005b30| 74 20 3c 42 52 45 41 4b | 3e 7d 2c 20 75 70 6f 6e |t <BREAK|>}, upon|
|00005b40| 20 77 68 69 63 68 20 74 | 68 65 0d 0a 45 6c 61 6e | which t|he..Elan|
|00005b50| 20 50 72 6f 67 72 61 6d | 6d 69 6e 67 20 45 6e 76 | Program|ming Env|
|00005b60| 69 72 6f 6e 6d 65 6e 74 | 20 72 65 76 65 72 74 73 |ironment| reverts|
|00005b70| 20 74 6f 20 74 72 61 63 | 65 2d 6d 6f 6f 64 2e 0d | to trac|e-mood..|
|00005b80| 0a 0d 0a 5c 73 75 62 73 | 65 63 74 69 6f 6e 7b 54 |...\subs|ection{T|
|00005b90| 68 65 20 63 68 65 63 6b | 65 72 7d 0d 0a 0d 0a 54 |he check|er}....T|
|00005ba0| 68 65 20 63 68 65 63 6b | 65 72 20 69 73 20 69 6e |he check|er is in|
|00005bb0| 76 6f 6b 65 64 20 61 75 | 74 6f 6d 61 74 69 63 61 |voked au|tomatica|
|00005bc0| 6c 6c 79 20 62 65 66 6f | 72 65 20 65 78 65 63 75 |lly befo|re execu|
|00005bd0| 74 69 6f 6e 2e 20 49 74 | 20 74 61 6b 65 73 0d 0a |tion. It| takes..|
|00005be0| 61 74 20 6d 6f 73 74 20 | 61 20 66 65 77 20 73 65 |at most |a few se|
|00005bf0| 63 6f 6e 64 73 2c 20 73 | 68 6f 77 69 6e 67 20 7b |conds, s|howing {|
|00005c00| 5c 74 74 20 43 68 65 63 | 6b 69 6e 67 2e 2e 2e 7d |\tt Chec|king...}|
|00005c10| 20 6f 6e 20 74 68 65 20 | 73 74 61 74 75 73 20 6c | on the |status l|
|00005c20| 69 6e 65 2e 0d 0a 49 74 | 20 63 68 65 63 6b 73 2c |ine...It| checks,|
|00005c30| 20 61 6d 6f 6e 67 73 74 | 20 6f 74 68 65 72 73 2c | amongst| others,|
|00005c40| 20 74 68 65 20 66 6f 6c | 6c 6f 77 69 6e 67 3a 0d | the fol|lowing:.|
|00005c50| 0a 0d 0a 5c 62 65 67 69 | 6e 7b 69 74 65 6d 69 7a |...\begi|n{itemiz|
|00005c60| 65 7d 0d 0a 5c 69 74 65 | 6d 09 69 73 20 65 76 65 |e}..\ite|m.is eve|
|00005c70| 72 79 20 61 70 70 6c 69 | 65 64 20 6e 61 6d 65 20 |ry appli|ed name |
|00005c80| 64 65 66 69 6e 65 64 20 | 65 78 61 63 74 6c 79 20 |defined |exactly |
|00005c90| 6f 6e 63 65 3f 0d 0a 5c | 69 74 65 6d 20 09 64 6f |once?..\|item .do|
|00005ca0| 20 74 79 70 65 73 20 6d | 61 74 63 68 20 69 6e 0d | types m|atch in.|
|00005cb0| 0a 09 5c 62 65 67 69 6e | 7b 69 74 65 6d 69 7a 65 |..\begin|{itemize|
|00005cc0| 7d 0d 0a 09 5c 69 74 65 | 6d 09 73 6f 75 72 63 65 |}...\ite|m.source|
|00005cd0| 20 61 6e 64 20 64 65 73 | 74 69 6e 61 74 69 6f 6e | and des|tination|
|00005ce0| 20 6f 66 20 61 6e 20 61 | 73 73 69 67 6e 61 74 69 | of an a|ssignati|
|00005cf0| 6f 6e 3f 0d 0a 09 5c 69 | 74 65 6d 09 61 6c 6c 20 |on?...\i|tem.all |
|00005d00| 70 61 72 74 73 20 6f 66 | 20 61 20 63 6f 6e 64 69 |parts of| a condi|
|00005d10| 74 69 6f 6e 61 6c 3f 0d | 0a 09 5c 69 74 65 6d 09 |tional?.|..\item.|
|00005d20| 61 20 6e 75 6d 65 72 69 | 63 61 6c 20 63 68 6f 69 |a numeri|cal choi|
|00005d30| 63 65 3f 0d 0a 09 5c 65 | 6e 64 7b 69 74 65 6d 69 |ce?...\e|nd{itemi|
|00005d40| 7a 65 7d 0d 0a 5c 69 74 | 65 6d 09 61 72 65 20 61 |ze}..\it|em.are a|
|00005d50| 6c 6c 20 6f 70 65 72 61 | 74 69 6f 6e 73 20 64 65 |ll opera|tions de|
|00005d60| 66 69 6e 65 64 20 66 6f | 72 20 74 68 65 20 74 79 |fined fo|r the ty|
|00005d70| 70 65 20 6f 66 20 6f 70 | 65 72 61 6e 64 73 20 67 |pe of op|erands g|
|00005d80| 69 76 65 6e 3f 0d 0a 5c | 69 74 65 6d 09 61 72 65 |iven?..\|item.are|
|00005d90| 20 61 6c 6c 20 63 6f 6e | 64 69 74 69 6f 6e 73 20 | all con|ditions |
|00005da0| 6f 66 20 74 79 70 65 20 | 7b 5c 74 74 20 42 4f 4f |of type |{\tt BOO|
|00005db0| 4c 7d 3f 0d 0a 5c 69 74 | 65 6d 09 61 72 65 20 61 |L}?..\it|em.are a|
|00005dc0| 6c 6c 20 69 6e 64 69 63 | 65 73 20 61 6e 64 20 62 |ll indic|es and b|
|00005dd0| 6f 75 6e 64 73 20 6f 66 | 20 74 79 70 65 20 7b 5c |ounds of| type {\|
|00005de0| 74 74 20 49 4e 54 7d 3f | 0d 0a 5c 69 74 65 6d 09 |tt INT}?|..\item.|
|00005df0| 61 72 65 20 61 6c 6c 20 | 69 64 65 6e 74 69 66 69 |are all |identifi|
|00005e00| 65 72 73 2c 20 75 73 65 | 64 20 61 73 20 62 6f 75 |ers, use|d as bou|
|00005e10| 6e 64 73 2c 20 73 79 6e | 6f 6e 79 6d 20 69 64 65 |nds, syn|onym ide|
|00005e20| 6e 74 69 66 69 65 72 73 | 3f 0d 0a 5c 69 74 65 6d |ntifiers|?..\item|
|00005e30| 09 61 72 65 20 6f 6e 6c | 79 20 72 6f 77 73 20 73 |.are onl|y rows s|
|00005e40| 75 62 73 63 72 69 70 74 | 65 64 3f 0d 0a 5c 69 74 |ubscript|ed?..\it|
|00005e50| 65 6d 09 61 72 65 20 6f | 6e 6c 79 20 66 69 65 6c |em.are o|nly fiel|
|00005e60| 64 73 20 73 65 6c 65 63 | 74 65 64 20 66 72 6f 6d |ds selec|ted from|
|00005e70| 3f 0d 0a 5c 65 6e 64 7b | 69 74 65 6d 69 7a 65 7d |?..\end{|itemize}|
|00005e80| 0d 0a 0d 0a 5c 6e 6f 69 | 6e 64 65 6e 74 0d 0a 46 |....\noi|ndent..F|
|00005e90| 75 72 74 68 65 72 6d 6f | 72 65 2c 20 69 74 20 70 |urthermo|re, it p|
|00005ea0| 65 72 66 6f 72 6d 73 20 | 74 68 65 20 69 64 65 6e |erforms |the iden|
|00005eb0| 74 69 66 69 63 61 74 69 | 6f 6e 20 6f 66 20 67 65 |tificati|on of ge|
|00005ec0| 6e 65 72 69 63 20 61 6c | 67 6f 72 69 74 68 6d 73 |neric al|gorithms|
|00005ed0| 2c 0d 0a 72 65 70 6f 72 | 74 69 6e 67 20 65 72 72 |,..repor|ting err|
|00005ee0| 6f 72 73 20 62 79 20 67 | 69 76 69 6e 67 20 61 20 |ors by g|iving a |
|00005ef0| 62 61 63 6b 74 72 61 63 | 65 2e 0d 0a 0d 0a 5c 73 |backtrac|e.....\s|
|00005f00| 75 62 73 65 63 74 69 6f | 6e 7b 54 68 65 20 62 61 |ubsectio|n{The ba|
|00005f10| 63 6b 74 72 61 63 65 2d | 6d 6f 6f 64 7d 0d 0a 0d |cktrace-|mood}...|
|00005f20| 0a 4f 6e 63 65 20 74 68 | 65 20 45 6c 61 6e 20 50 |.Once th|e Elan P|
|00005f30| 72 6f 67 72 61 6d 6d 69 | 6e 67 20 45 6e 76 69 72 |rogrammi|ng Envir|
|00005f40| 6f 6e 6d 65 6e 74 20 68 | 61 73 20 66 6f 75 6e 64 |onment h|as found|
|00005f50| 20 61 20 73 65 6d 61 6e | 74 69 63 0d 0a 65 72 72 | a seman|tic..err|
|00005f60| 6f 72 2c 20 69 74 20 65 | 6e 74 65 72 73 20 62 61 |or, it e|nters ba|
|00005f70| 63 6b 74 72 61 63 65 2d | 6d 6f 6f 64 2c 20 64 69 |cktrace-|mood, di|
|00005f80| 73 70 6c 61 79 69 6e 67 | 20 7b 5c 74 74 20 42 61 |splaying| {\tt Ba|
|00005f90| 63 6b 74 72 61 63 65 20 | 63 6f 6d 6d 61 6e 64 2c |cktrace |command,|
|00005fa0| 20 70 6c 65 61 73 65 2e | 2e 2e 7d 0d 0a 6f 6e 20 | please.|..}..on |
|00005fb0| 74 68 65 20 72 69 67 68 | 74 20 6f 66 20 74 68 65 |the righ|t of the|
|00005fc0| 20 73 74 61 74 75 73 20 | 6c 69 6e 65 2c 20 77 69 | status |line, wi|
|00005fd0| 74 68 20 61 6e 20 65 72 | 72 6f 72 20 64 65 73 63 |th an er|ror desc|
|00005fe0| 72 69 70 74 69 6f 6e 20 | 6f 6e 20 74 68 65 20 6c |ription |on the l|
|00005ff0| 65 66 74 0d 0a 6f 66 20 | 74 68 65 20 73 74 61 74 |eft..of |the stat|
|00006000| 75 73 20 6c 69 6e 65 2e | 20 54 68 65 20 62 61 63 |us line.| The bac|
|00006010| 6b 74 72 61 63 65 2d 6d | 6f 6f 64 20 6f 66 66 65 |ktrace-m|ood offe|
|00006020| 72 73 20 74 6f 20 74 68 | 65 20 75 73 65 72 20 74 |rs to th|e user t|
|00006030| 68 65 0d 0a 6f 70 70 6f | 72 74 75 6e 69 74 79 20 |he..oppo|rtunity |
|00006040| 6f 66 20 75 6e 66 6f 6c | 64 69 6e 67 20 74 68 65 |of unfol|ding the|
|00006050| 20 73 74 61 74 69 63 20 | 6e 65 73 74 69 6e 67 20 | static |nesting |
|00006060| 6f 66 20 74 68 65 20 70 | 72 65 73 65 6e 74 20 75 |of the p|resent u|
|00006070| 6e 69 74 0d 0a 61 6e 64 | 20 6c 69 73 74 69 6e 67 |nit..and| listing|
|00006080| 20 69 74 2e 20 41 66 74 | 65 72 20 65 61 63 68 20 | it. Aft|er each |
|00006090| 75 6e 69 74 20 6c 69 73 | 74 65 64 2c 20 74 68 65 |unit lis|ted, the|
|000060a0| 20 45 6c 61 6e 20 50 72 | 6f 67 72 61 6d 6d 69 6e | Elan Pr|ogrammin|
|000060b0| 67 0d 0a 45 6e 76 69 72 | 6f 6e 6d 65 6e 74 20 77 |g..Envir|onment w|
|000060c0| 61 69 74 73 20 66 6f 72 | 20 74 68 65 20 6e 65 78 |aits for| the nex|
|000060d0| 74 20 77 69 73 68 20 6f | 66 20 74 68 65 20 75 73 |t wish o|f the us|
|000060e0| 65 72 2c 20 77 68 69 63 | 68 20 63 61 6e 20 62 65 |er, whic|h can be|
|000060f0| 0d 0a 6f 6e 65 20 6f 66 | 20 74 68 65 20 66 6f 6c |..one of| the fol|
|00006100| 6c 6f 77 69 6e 67 3a 0d | 0a 0d 0a 5c 62 65 67 69 |lowing:.|...\begi|
|00006110| 6e 7b 69 74 65 6d 69 7a | 65 7d 20 0d 0a 5c 69 74 |n{itemiz|e} ..\it|
|00006120| 65 6d 7b 5c 74 74 20 65 | 7d 20 20 20 20 20 20 20 |em{\tt e|} |
|00006130| 20 65 64 69 74 2d 63 6f | 6d 6d 61 6e 64 0d 0a 0d | edit-co|mmand...|
|00006140| 0a 6d 6f 64 69 66 79 20 | 74 68 65 20 64 65 66 69 |.modify |the defi|
|00006150| 6e 69 74 69 6f 6e 20 63 | 6f 6e 74 61 69 6e 69 6e |nition c|ontainin|
|00006160| 67 20 74 68 69 73 20 75 | 6e 69 74 20 61 6e 64 20 |g this u|nit and |
|00006170| 72 65 74 75 72 6e 20 74 | 6f 20 74 68 65 0d 0a 63 |return t|o the..c|
|00006180| 6f 6d 6d 61 6e 64 2d 6d | 6f 6f 64 2e 20 0d 0a 5c |ommand-m|ood. ..\|
|00006190| 69 74 65 6d 7b 5c 74 74 | 20 6e 7d 20 20 20 20 20 |item{\tt| n} |
|000061a0| 20 20 20 6e 65 78 74 2d | 63 6f 6d 6d 61 6e 64 0d | next-|command.|
|000061b0| 0a 0d 0a 63 6f 6e 74 69 | 6e 75 65 20 62 61 63 6b |...conti|nue back|
|000061c0| 74 72 61 63 69 6e 67 3b | 20 72 65 74 75 72 6e 20 |tracing;| return |
|000061d0| 74 6f 20 63 6f 6d 6d 61 | 6e 64 2d 6d 6f 6f 64 20 |to comma|nd-mood |
|000061e0| 69 66 20 63 75 72 72 65 | 6e 74 20 75 6e 69 74 0d |if curre|nt unit.|
|000061f0| 0a 69 73 20 72 6f 6f 74 | 20 6f 66 20 70 72 6f 67 |.is root| of prog|
|00006200| 72 61 6d 2c 20 6f 74 68 | 65 72 77 69 73 65 20 64 |ram, oth|erwise d|
|00006210| 69 73 70 6c 61 79 20 75 | 6e 69 74 20 69 6d 6d 65 |isplay u|nit imme|
|00006220| 64 69 61 74 65 6c 79 20 | 73 75 72 72 6f 75 6e 64 |diately |surround|
|00006230| 69 6e 67 0d 0a 63 75 72 | 72 65 6e 74 20 75 6e 69 |ing..cur|rent uni|
|00006240| 74 2e 20 0d 0a 5c 69 74 | 65 6d 7b 5c 74 74 20 73 |t. ..\it|em{\tt s|
|00006250| 7d 20 20 20 20 20 20 20 | 20 73 68 6f 77 2d 63 6f |} | show-co|
|00006260| 6d 6d 61 6e 64 0d 0a 20 | 0d 0a 73 68 6f 77 20 74 |mmand.. |..show t|
|00006270| 68 65 20 64 65 66 69 6e | 69 74 69 6f 6e 20 61 6e |he defin|ition an|
|00006280| 64 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 61 |d the va|lue of a|
|00006290| 20 67 69 76 65 6e 20 6e | 61 6d 65 2e 0d 0a 5c 69 | given n|ame...\i|
|000062a0| 74 65 6d 7b 5c 74 74 20 | 71 7d 20 20 20 20 20 20 |tem{\tt |q} |
|000062b0| 20 20 71 75 69 74 2d 63 | 6f 6d 6d 61 6e 64 0d 0a | quit-c|ommand..|
|000062c0| 0d 0a 73 74 6f 70 20 62 | 61 63 6b 74 72 61 63 69 |..stop b|acktraci|
|000062d0| 6e 67 2c 20 72 65 74 75 | 72 6e 20 74 6f 20 63 6f |ng, retu|rn to co|
|000062e0| 6d 6d 61 6e 64 2d 6d 6f | 6f 64 2e 0d 0a 5c 65 6e |mmand-mo|od...\en|
|000062f0| 64 7b 69 74 65 6d 69 7a | 65 7d 0d 0a 0d 0a 5c 6e |d{itemiz|e}....\n|
|00006300| 6f 69 6e 64 65 6e 74 0d | 0a 54 68 69 73 20 6d 65 |oindent.|.This me|
|00006310| 63 68 61 6e 69 73 6d 20 | 73 65 72 76 65 73 20 74 |chanism |serves t|
|00006320| 6f 20 70 69 6e 70 6f 69 | 6e 74 20 73 65 6d 61 6e |o pinpoi|nt seman|
|00006330| 74 69 63 20 65 72 72 6f | 72 73 20 69 6e 20 74 68 |tic erro|rs in th|
|00006340| 65 20 70 72 6f 67 72 61 | 6d 2e 0d 0a 0d 0a 5c 73 |e progra|m.....\s|
|00006350| 75 62 73 65 63 74 69 6f | 6e 7b 54 68 65 20 74 72 |ubsectio|n{The tr|
|00006360| 61 63 65 2d 6d 6f 6f 64 | 7d 0d 0a 20 0d 0a 54 68 |ace-mood|}.. ..Th|
|00006370| 65 20 74 72 61 63 65 2d | 6d 6f 6f 64 20 63 61 6e |e trace-|mood can|
|00006380| 20 62 65 20 65 6e 74 65 | 72 65 64 20 62 79 20 74 | be ente|red by t|
|00006390| 68 65 20 75 73 65 72 20 | 62 79 20 6d 65 61 6e 73 |he user |by means|
|000063a0| 20 6f 66 20 61 20 74 72 | 61 63 65 2d 63 6f 6d 6d | of a tr|ace-comm|
|000063b0| 61 6e 64 0d 0a 28 7b 5c | 74 74 20 74 7d 29 2e 20 |and..({\|tt t}). |
|000063c0| 49 74 20 63 61 6e 20 61 | 6c 73 6f 20 62 65 20 65 |It can a|lso be e|
|000063d0| 6e 74 65 72 65 64 20 66 | 72 6f 6d 20 61 20 70 72 |ntered f|rom a pr|
|000063e0| 6f 67 72 61 6d 20 62 79 | 20 61 20 63 61 6c 6c 20 |ogram by| a call |
|000063f0| 6f 66 20 7b 5c 74 74 20 | 61 73 73 65 72 74 7d 0d |of {\tt |assert}.|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.